dgaudet 98/03/26 11:26:26
Modified: src CHANGES
src/include conf.h
Log:
It seems foolish to define SIGURG SIGUSR1 especially when SIGUSR1 is used
for graceful restarts. Given that the only usage of SIGURG is now
protected by a #ifdef we don't really need the definition. ... similarly
for BeOS, why define SIGBUS SIGSEGV?
Revision Changes Path
1.734 +3 -0 apache-1.3/src/CHANGES
Index: CHANGES
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/CHANGES,v
retrieving revision 1.733
retrieving revision 1.734
diff -u -r1.733 -r1.734
--- CHANGES 1998/03/26 19:02:59 1.733
+++ CHANGES 1998/03/26 19:26:23 1.734
@@ -1,5 +1,8 @@
Changes with Apache 1.3b6
+ *) PORT: Clean up undefined signals on some platforms (SCO, BeOS).
+ [Dean Gaudet]
+
*) After a SIGHUP the listening sockets in the parent weren't
properly marked for closure on fork().
[J�rgen Keil <[EMAIL PROTECTED]>] PR#2000
1.195 +0 -7 apache-1.3/src/include/conf.h
Index: conf.h
===================================================================
RCS file: /export/home/cvs/apache-1.3/src/include/conf.h,v
retrieving revision 1.194
retrieving revision 1.195
diff -u -r1.194 -r1.195
--- conf.h 1998/03/17 19:51:48 1.194
+++ conf.h 1998/03/26 19:26:25 1.195
@@ -391,13 +391,11 @@
#undef NO_SETSID
#define NEED_INITGROUPS
#define NO_WRITEV
-#define SIGURG SIGUSR1 /* but note, this signal will be sent
to a process group if enabled (for OOB data). It is not currently enabled. */
#include <sys/time.h>
#define HAVE_SYSLOG 1
#elif defined(SCO5)
-#define SIGURG SIGUSR1
#define HAVE_SYS_SELECT_H 1
#define USE_FCNTL_SERIALIZED_ACCEPT
#define HAVE_MMAP 1
@@ -682,7 +680,6 @@
#undef NO_SETSID
#define HAVE_SHMGET 1
#define USE_SHMGET_SCOREBOARD
-#define SIGURG SIGUSR1
#define USE_FCNTL_SERIALIZED_ACCEPT
#define HAVE_SYSLOG 1
@@ -718,10 +715,6 @@
#define NO_WRITEV
#define NO_KILLPG
#define NEED_INITGROUPS
-
-/* BeOS doesn't have a couple signals... redefine to close ones */
-#define SIGBUS SIGSEGV
-#define SIGURG SIGPIPE
#define isascii(c) (!((c) & ~0177))