Larry Rosenman wrote:
Would the following diff be acceptable? (the __USLC__ define is
the UnixWare CC's id).
Index: serverchild.c
===================================================================
RCS file: /cvsroot-dbmail/dbmail/serverchild.c,v
retrieving revision 1.21
diff -u -r1.21 serverchild.c
--- serverchild.c 2004/06/03 09:58:31 1.21
+++ serverchild.c 2004/06/03 14:06:40
@@ -52,6 +52,11 @@
#ifdef PROC_TITLES
#include "proctitleutils.h"
#endif
+#ifdef __USLC__
+#ifndef SHUT_RDWR
+#define SHUT_RDWR 2
+#endif
+#endif
int ChildStopRequested = 0;
int connected = 0;
Wouldn't it be easier and more general to exclude the #ifdef __USLC__
line (and it's closing #endif) to make sure it always works when
SHUT_RDWR isn't defined?
Ilja