Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
65305815
Commit
65305815
authored
Jun 05, 1999
by
Per Cederqvist
Browse files
(initialize): Don't die until a character has been read if -d is used.
parent
ea55f059
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
65305815
/*
* $Id: ramkomd.c,v 0.8
8
1999/06/0
3
2
2:11
:1
0
ceder Exp $
* $Id: ramkomd.c,v 0.8
9
1999/06/0
5
2
0:48
:1
9
ceder Exp $
* Copyright (C) 1991-1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -44,7 +44,7 @@
#endif
static
const
char
*
rcsid
=
"$Id: ramkomd.c,v 0.8
8
1999/06/0
3
2
2:11
:1
0
ceder Exp $"
;
rcsid
=
"$Id: ramkomd.c,v 0.8
9
1999/06/0
5
2
0:48
:1
9
ceder Exp $"
;
#include
"rcs.h"
USE
(
rcsid
);
...
...
@@ -423,7 +423,20 @@ initialize(const char *config_file)
go_daemon
();
if
(
lock_db
()
<
0
)
{
/* Don't actually die until something is entered on stdin in debug
mode. This is mainly here for the benefit of the test suite,
but is could also be useful to be able to attach a debugger and
do pre-mortem debugging of the process at this point. */
if
(
buglevel
>
0
)
{
kom_log
(
"Press enter to terminate lyskomd
\n
"
);
getchar
();
}
exit
(
1
);
}
server_init
(
param
.
ip_client_host
,
param
.
ip_client_port
);
init_data_base
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment