randy 96/07/26 21:43:24
Modified: src mod_include.c Log: Fix problem where closing an invalid file descriptor causes core a coredump. Reported on Linux. Reviewed by: Randy Terbush, Howard Fear Submitted by: Howard Fear Revision Changes Path 1.11 +1 -1 apache/src/mod_include.c Index: mod_include.c =================================================================== RCS file: /export/home/cvs/apache/src/mod_include.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C3 -r1.10 -r1.11 *** mod_include.c 1996/07/21 20:03:43 1.10 --- mod_include.c 1996/07/27 04:43:22 1.11 *************** *** 501,507 **** arg.r = r; arg.s = s; ! if (!spawn_child (r->connection->pool, include_cmd_child, &arg, kill_after_timeout, NULL, &f)) return -1; --- 501,507 ---- arg.r = r; arg.s = s; ! if (!spawn_child (r->pool, include_cmd_child, &arg, kill_after_timeout, NULL, &f)) return -1;