]> granicus.if.org Git - apache/commit
ap_dupfile (specifically dup2) is not available in a general form under Windows.
authorBill Stoddard <stoddard@apache.org>
Tue, 15 Feb 2000 22:51:23 +0000 (22:51 +0000)
committerBill Stoddard <stoddard@apache.org>
Tue, 15 Feb 2000 22:51:23 +0000 (22:51 +0000)
commitbdad3347fb9daaee18e1d318f5ad19871505920d
treef41a84181d6782569dcf885ddfb91ae08d03557a
parent4da04aa7ad5e9b8b26a6e109e15430526caede7a
ap_dupfile (specifically dup2) is not available in a general form under Windows.
So use SetStdHandle directly. A single call to ap_dup2stderr() (or similar) could
replace the entire chunk of code in the #ifdef #else #endif block.  Ryan didn't
want to put this speciality function into APR, but we could put it into os.c
if folks are interested.

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