From: wessels <> Date: Tue, 17 Nov 1998 08:28:56 +0000 (+0000) Subject: comm_close() in a child process doesn't work with async IO X-Git-Tag: SQUID_3_0_PRE1~2517 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2dde67ef51eda57b7c99ed705513af05b75c53f4;p=thirdparty%2Fsquid.git comm_close() in a child process doesn't work with async IO --- diff --git a/src/ipc.cc b/src/ipc.cc index 77097746ef..1ff117e603 100644 --- a/src/ipc.cc +++ b/src/ipc.cc @@ -1,6 +1,6 @@ /* - * $Id: ipc.cc,v 1.13 1998/11/12 23:07:35 wessels Exp $ + * $Id: ipc.cc,v 1.14 1998/11/17 01:28:56 wessels Exp $ * * DEBUG: section 54 Interprocess Communication * AUTHOR: Duane Wessels @@ -207,9 +207,9 @@ ipcCreate(int type, const char *prog, char *const args[], const char *name, int /* child */ no_suid(); /* give up extra priviliges */ /* close shared socket with parent */ - comm_close(prfd); + close(prfd); if (pwfd != prfd) - comm_close(pwfd); + close(pwfd); pwfd = prfd = -1; if (type == IPC_TCP_SOCKET) {