ipcCreate

From: Robert Collins <robert.collins@dont-contact.us>
Date: 29 Aug 2001 23:43:07 +1000

Any objections to the following:

Index: squid/src/ipc.c
diff -u squid/src/ipc.c:1.1.1.3.12.3.2.1 squid/src/ipc.c:1.1.1.3.12.5
--- squid/src/ipc.c:1.1.1.3.12.3.2.1 Tue Jan 23 02:14:21 2001
+++ squid/src/ipc.c Fri Aug 10 06:35:16 2001
@@ -204,7 +204,7 @@
            *wfd = pwfd;
        fd_table[prfd].flags.ipc = 1;
        fd_table[pwfd].flags.ipc = 1;
- return pwfd;
+ return pid;
     }
     /* child */
     no_suid(); /* give up extra priviliges */

It allows reporting the PID in the helper stats screen, and nowhere in
squid is the return code used for anything other than success/failure
testing.

Rob
Received on Wed Aug 29 2001 - 07:42:57 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:16 MST