]> 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)
commitaea0cfeca27b08c51e1406d8e526fee826f09804
treec80c46ce403eb627d12c5be24d144b9dfa86ad14
parent8d7abd2883194a4faddc7f31ef0f21b7f18bb4bf
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