From: wessels <> Date: Tue, 4 Aug 1998 01:29:09 +0000 (+0000) Subject: DUNIX poll() and pipe() are incompatible X-Git-Tag: SQUID_3_0_PRE1~2938 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2b9a692c9a8232ad440b210bfaba69621b831c48;p=thirdparty%2Fsquid.git DUNIX poll() and pipe() are incompatible --- diff --git a/src/unlinkd.cc b/src/unlinkd.cc index e3016e5e94..81b58669f1 100644 --- a/src/unlinkd.cc +++ b/src/unlinkd.cc @@ -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",