aboutsummaryrefslogtreecommitdiffstats
path: root/daemon.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-06-11 13:56:01 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-06-11 13:56:01 +0000
commite553aea6031e99f495849ccde9cfcf4de5d052ab (patch)
tree650e11129682b7d7799b1fd094ef3996e20c3f97 /daemon.c
parentac8942cd2ea7c679e404a9b25f305cf049677dd5 (diff)
downloadfetchmail-e553aea6031e99f495849ccde9cfcf4de5d052ab.tar.gz
fetchmail-e553aea6031e99f495849ccde9cfcf4de5d052ab.tar.bz2
fetchmail-e553aea6031e99f495849ccde9cfcf4de5d052ab.zip
Recent HP-UXs prototype wait3 properly.
svn path=/trunk/; revision=1082
Diffstat (limited to 'daemon.c')
-rw-r--r--daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.c b/daemon.c
index 68c509db..4d159257 100644
--- a/daemon.c
+++ b/daemon.c
@@ -51,7 +51,7 @@ sigchld_handler (int sig)
#endif
#if defined(HAVE_WAIT3)
-#ifdef hpux
+#ifdef oldhpux /* HP-UX fixed this sometime between 9.01 and 10.20 */
while ((pid = wait3(&status, WNOHANG, (int *) 0)) > 0)
#else
while ((pid = wait3(&status, WNOHANG, (struct rusage *) 0)) > 0)