diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2002-01-24 06:12:24 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2002-01-24 06:12:24 +0000 |
commit | 470ba24284f58cf75d8ff9e9a68244118ebd1478 (patch) | |
tree | b1372cd05ce3abd94697358a019cae5aa6f09aaa /file_io/win32/filedup.c | |
parent | 6356b3e3842e442e0d54faeb1fab8ec5ad740401 (diff) | |
download | apr-470ba24284f58cf75d8ff9e9a68244118ebd1478.tar.gz |
Thank you for applying, Aaron! Notice that threadproc/*/proc.c files seem
to require a bit more effort yet, to port to the _dup2() flavor.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@62821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32/filedup.c')
-rw-r--r-- | file_io/win32/filedup.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/file_io/win32/filedup.c b/file_io/win32/filedup.c index c4717d8cc..f607dc8fa 100644 --- a/file_io/win32/filedup.c +++ b/file_io/win32/filedup.c @@ -65,14 +65,6 @@ APR_DECLARE(apr_status_t) apr_file_dup(apr_file_t **new_file, HANDLE hproc = GetCurrentProcess(); HANDLE newhand = NULL; - /* XXX Dirty, ugly backward compatibility hack - * This is the reason that dup2 was introduced, - * need to remove this thunk on short order! - */ - if (*new_file) { - return apr_file_dup2(new_file, old_file, p); - } - if (!DuplicateHandle(hproc, old_file->filehand, hproc, &newhand, 0, FALSE, DUPLICATE_SAME_ACCESS)) { |