summaryrefslogtreecommitdiff
path: root/file_io/win32/filedup.c
diff options
context:
space:
mode:
authorwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-01-24 06:12:24 +0000
committerwrowe <wrowe@13f79535-47bb-0310-9956-ffa450edef68>2002-01-24 06:12:24 +0000
commit2edd95288e6a1f0cfafac5fb6e61fc84d992d0ba (patch)
treeb1372cd05ce3abd94697358a019cae5aa6f09aaa /file_io/win32/filedup.c
parent4f70f14f43ceb8fe1c4fb37d554984adf256f473 (diff)
downloadlibapr-2edd95288e6a1f0cfafac5fb6e61fc84d992d0ba.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: http://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.c8
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)) {