]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
DUNIX poll() and pipe() are incompatible
authorwessels <>
Tue, 4 Aug 1998 01:29:09 +0000 (01:29 +0000)
committerwessels <>
Tue, 4 Aug 1998 01:29:09 +0000 (01:29 +0000)
src/unlinkd.cc

index e3016e5e9449064944ae05070a53b466fa385da0..81b58669f1afaa546ad0bcc4afffbb4d68d306f8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: unlinkd.cc,v 1.23 1998/07/22 20:38:03 wessels Exp $
+ * $Id: unlinkd.cc,v 1.24 1998/08/03 19:29:09 wessels Exp $
  *
  * DEBUG: section 12    Unlink Daemon
  * AUTHOR: Duane Wessels
@@ -132,7 +132,12 @@ unlinkdInit(void)
     struct timeval slp;
     args[0] = "(unlinkd)";
     args[1] = NULL;
+#if HAVE_POLL && defined(_SQUID_OSF_)
+    /* pipes and poll() don't get along on DUNIX -DW */
+    x = ipcCreate(IPC_TCP_SOCKET,
+#else
     x = ipcCreate(IPC_FIFO,
+#endif
        Config.Program.unlinkd,
        args,
        "unlinkd",