Re: ipcCreate

From: Adrian Chadd <adrian@dont-contact.us>
Date: Wed, 29 Aug 2001 07:49:39 -0600

On Wed, Aug 29, 2001, Robert Collins wrote:
> Any objections to the following:

None from me.

Adrian

>
> 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:49:40 MDT

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