Kaydet (Commit) de1ebb77 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS dmake411 (1.6.6); FILE MERGED

2007/09/09 19:11:35 vq 1.6.6.2: #i81273# Fixed another MinGW build problem.
2007/09/06 14:53:17 vq 1.6.6.1: #i81273# Fix MinGW build problem.
üst 3602a344
/* $RCSfile: quit.c,v $ /* $RCSfile: quit.c,v $
-- $Revision: 1.6 $ -- $Revision: 1.7 $
-- last change: $Author: vg $ $Date: 2007-01-18 09:32:09 $ -- last change: $Author: ihi $ $Date: 2007-10-15 15:41:12 $
-- --
-- SYNOPSIS -- SYNOPSIS
-- End the dmake session. -- End the dmake session.
...@@ -39,9 +39,14 @@ int sig; ...@@ -39,9 +39,14 @@ int sig;
{ {
if( sig == SIGINT ) if( sig == SIGINT )
fprintf(stderr, "Caught SIGINT. Trying to quit ...\n"); fprintf(stderr, "Caught SIGINT. Trying to quit ...\n");
else if( sig == SIGQUIT ) else
#ifdef SIGQUIT
/* MinGW, maybe others also, does not have SIGQUIT. */
if( sig == SIGQUIT )
fprintf(stderr, "Caught SIGQUIT. Trying to quit ...\n"); fprintf(stderr, "Caught SIGQUIT. Trying to quit ...\n");
else if( sig == 0 ) else
#endif
if( sig == 0 )
/* Don't be verbose during regular program termination. */ /* Don't be verbose during regular program termination. */
; ;
else else
...@@ -53,7 +58,12 @@ int sig; ...@@ -53,7 +58,12 @@ int sig;
/* CTRL-c sends SIGINT and CTRL-\ sends SIGQUIT to the parent and to all /* CTRL-c sends SIGINT and CTRL-\ sends SIGQUIT to the parent and to all
* children. No need to kill them. */ * children. No need to kill them. */
if( sig != SIGINT && sig != SIGQUIT ) if( sig != SIGINT
#ifdef SIGQUIT
/* MinGW, maybe others also, does not have SIGQUIT. */
&& sig != SIGQUIT
#endif
)
/* This should be called Kill_all_processes(). */ /* This should be called Kill_all_processes(). */
Clean_up_processes(); Clean_up_processes();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment