jerenkrantz 01/12/28 11:03:48
Modified: threadproc/unix procsup.c
Log:
Change from APR_HAVE_SETSID to HAVE_SETSID as the configure script only
sets HAVE_SETSID. We will now call setsid() on platforms that have it.
Two reasons for changing it here:
- This is a private define. ISTR APR_ macros should only be for defines
that will be exported via apr.h. This define lives in apr_private.h.
- We're using HAVE_WAITPID a few lines down.
Revision Changes Path
1.33 +1 -1 apr/threadproc/unix/procsup.c
Index: procsup.c
===================================================================
RCS file: /home/cvs/apr/threadproc/unix/procsup.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- procsup.c 2001/08/10 21:04:48 1.32
+++ procsup.c 2001/12/28 19:03:48 1.33
@@ -72,7 +72,7 @@
}
/* RAISE_SIGSTOP(DETACH);*/
#endif
-#if APR_HAVE_SETSID
+#ifdef HAVE_SETSID
if ((pgrp = setsid()) == -1) {
return errno;
}