--------------------- PatchSet 2735 Date: 2001/08/09 23:08:18 Author: rbcollins Branch: external_logger Tag: (none) Log: fix a fatal condition Members: src/logfile.c:1.5.22.2->1.5.22.3 Index: squid/src/logfile.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/logfile.c,v retrieving revision 1.5.22.2 retrieving revision 1.5.22.3 diff -u -r1.5.22.2 -r1.5.22.3 --- squid/src/logfile.c 4 Aug 2001 03:18:26 -0000 1.5.22.2 +++ squid/src/logfile.c 9 Aug 2001 23:08:18 -0000 1.5.22.3 @@ -83,6 +83,7 @@ if (x < 0) fatalf("execl %s failed!\n", Config.Program.logd); lf->pid = x; + commUnsetNonBlocking(lf->logfd); add_ipc_quit_handler(x, logfileHelperQuit, lf); return lf; } @@ -151,6 +152,7 @@ if (x < 0) fatalf("execl %s failed!\n", Config.Program.logd); lf->pid = x; + commUnsetNonBlocking(lf->logfd); add_ipc_quit_handler(x, logfileHelperQuit, lf); } @@ -251,5 +253,6 @@ if (x < 0) fatalf("execl %s failed!\n", Config.Program.logd); lf->pid = x; + commUnsetNonBlocking(lf->logfd); add_ipc_quit_handler(x, logfileHelperQuit, lf); }