]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
apr_put_os_file() expected the caller to have an existing file or init to
authorGreg Stein <gstein@apache.org>
Fri, 26 Jan 2001 09:05:40 +0000 (09:05 +0000)
committerGreg Stein <gstein@apache.org>
Fri, 26 Jan 2001 09:05:40 +0000 (09:05 +0000)
commit2cc4a60a59adef39a011bcb799ab397b896b9977
treec80c46ce403eb627d12c5be24d144b9dfa86ad14
parent6d396cd5467e3f60276feb2b0f3181dee6e8851f
apr_put_os_file() expected the caller to have an existing file or init to
NULL. using an existing file doesn't normally work: where would you get a
blank file to shove an FD into? expecting the user to assign to NULL is
error-prone (mod_isapi didn't).

*) always create and return a new file from apr_put_os_file()
*) reimplement apr_open_stderr() in terms of apr_put_os_file()
   [ except for win32... some issues there ]
*) remove some (obsolete) inits to NULL

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87851 13f79535-47bb-0310-9956-ffa450edef68
modules/generators/mod_cgid.c