Added RERR_SIGNAL1 to separate SIGUSR1 from the rest of the
authorWayne Davison <wayned@samba.org>
Fri, 16 Dec 2005 23:48:28 +0000 (23:48 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 16 Dec 2005 23:48:28 +0000 (23:48 +0000)
signals that return RERR_SIGNAL.

errcode.h

index 68f74b43e4180952c386cf4e5c9f6b68d1d631e9..a169d41764108bba17e23da95edb866060d9e49c 100644 (file)
--- a/errcode.h
+++ b/errcode.h
@@ -37,7 +37,8 @@
 #define RERR_CRASHED    15      /* sibling crashed */
 #define RERR_TERMINATED 16      /* sibling terminated abnormally */
 
-#define RERR_SIGNAL     20      /* status returned when sent SIGUSR1, SIGINT */
+#define RERR_SIGNAL1    19      /* status returned when sent SIGUSR1 */
+#define RERR_SIGNAL     20      /* status returned when sent SIGINT, SIGTERM, SIGHUP */
 #define RERR_WAITCHILD  21      /* some error returned by waitpid() */
 #define RERR_MALLOC     22      /* error allocating core memory buffers */
 #define RERR_PARTIAL    23      /* partial transfer */