diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-09-11 02:23:28 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-09-11 02:23:28 +0000 |
commit | 8f826df8fbadd811f6bcc31344e3d8472bd6f2bb (patch) | |
tree | b58fefa9fefe9ebb3ecc7721c464d978a0fc41c8 /daemon.c | |
parent | dd6e5c6501f58c49445f2d5b5da978183303f275 (diff) | |
download | fetchmail-8f826df8fbadd811f6bcc31344e3d8472bd6f2bb.tar.gz fetchmail-8f826df8fbadd811f6bcc31344e3d8472bd6f2bb.tar.bz2 fetchmail-8f826df8fbadd811f6bcc31344e3d8472bd6f2bb.zip |
Code changes needed for next release.
svn path=/trunk/; revision=2552
Diffstat (limited to 'daemon.c')
-rw-r--r-- | daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -56,6 +56,7 @@ RETSIGTYPE sigchld_handler (int sig) /* process SIGCHLD to obtain the exit code of the terminating process */ { + extern volatile int lastsig; /* last signal received */ pid_t pid; #if defined(HAVE_WAITPID) /* the POSIX way */ @@ -77,6 +78,7 @@ sigchld_handler (int sig) wait(&status); #endif + lastsig = SIGCHLD; } int |