]> granicus.if.org Git - apache/commit
After hours of debugging, the answer was -trivial-, but extremely
authorWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 12 Feb 2002 17:32:06 +0000 (17:32 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Tue, 12 Feb 2002 17:32:06 +0000 (17:32 +0000)
commit3d5b286731a7a0d1cd03e810663a974f5471e9b1
tree6580c5ead1b13afad73eda651b92ceaa837f3c6e
parent88d534e9a612af753631ae8a073d586f371ada2d
  After hours of debugging, the answer was -trivial-, but extremely
  obscure and difficult to trace.  This should do away with the handle
  corruption we experienced.  If anyone cares to walk the crt (source
  is installed in vc\src\crt if you install it w/ Visual C++/Studio)
  it's worth understanding why this occured.

  This patch

    1. creates the pipe non-inherited, and dups the write end
       for inheritence with limited permissions.
    2. sets the STD_ERROR_HANDLE _after_ we fixup the FILE *stderr and fd 2.
    3. Splits the signal_monitor event in two, service_init/service_term
       for clarity and correctness.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93374 13f79535-47bb-0310-9956-ffa450edef68
server/mpm/winnt/service.c