wrowe 02/01/23 22:12:24
Modified: file_io/win32 filedup.c
Log:
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.
Revision Changes Path
1.39 +0 -8 apr/file_io/win32/filedup.c
Index: filedup.c
===================================================================
RCS file: /home/cvs/apr/file_io/win32/filedup.c,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- filedup.c 24 Jan 2002 04:28:09 -0000 1.38
+++ filedup.c 24 Jan 2002 06:12:24 -0000 1.39
@@ -65,14 +65,6 @@
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)) {