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
3e95a007
Commit
3e95a007
authored
Aug 22, 1998
by
Per Cederqvist
Browse files
(main): Don't terminate until a confirmation is read on stdin when
running under DejaGnu.
parent
9e94481e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/ramkomd.c
View file @
3e95a007
/*
* $Id: ramkomd.c,v 0.6
7
1998/08/
07 23:32:08
ceder Exp $
* $Id: ramkomd.c,v 0.6
8
1998/08/
22 17:40:01
ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
...
...
@@ -39,7 +39,7 @@
*/
static
const
char
*
rcsid
=
"$Id: ramkomd.c,v 0.6
7
1998/08/
07 23:32:08
ceder Exp $"
;
rcsid
=
"$Id: ramkomd.c,v 0.6
8
1998/08/
22 17:40:01
ceder Exp $"
;
#include "rcs.h"
USE
(
rcsid
);
...
...
@@ -502,6 +502,16 @@ main (int argc,
dump_exit_statistics
();
log
(
"%s terminated normally.
\n
"
,
argv
[
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
)
{
log
(
"Press enter to terminate lyskomd
\n
"
);
getchar
();
}
return
0
;
}
...
...
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