]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Don't allow IPC_FIFO on OSF/DigitalUnix
authorwessels <>
Tue, 4 Aug 1998 01:28:23 +0000 (01:28 +0000)
committerwessels <>
Tue, 4 Aug 1998 01:28:23 +0000 (01:28 +0000)
src/ipc.cc

index 5ead68604cf972585fbaa4c718b7ce9c40160b5c..133dc8e911b46fa351f15b6db3d20fb38ba137a0 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipc.cc,v 1.7 1998/07/22 20:37:30 wessels Exp $
+ * $Id: ipc.cc,v 1.8 1998/08/03 19:28:23 wessels Exp $
  *
  * DEBUG: section 54    Interprocess Communication
  * AUTHOR: Duane Wessels
@@ -71,6 +71,10 @@ ipcCreate(int type, const char *prog, char *const args[], const char *name, int
     char *env_str;
     int x;
 
+#if HAVE_POLL && defined(_SQUID_OSF_)
+    assert(type != IPC_FIFO);
+#endif
+
     if (rfd)
        *rfd = -1;
     if (wfd)