wrowe 02/02/11 16:06:04
Modified: file_io/win32 filedup.c
Log:
Symbolic rather than explicit value - no need to push into .32.
Revision Changes Path
1.40 +1 -1 apr/file_io/win32/filedup.c
Index: filedup.c
===================================================================
RCS file: /home/cvs/apr/file_io/win32/filedup.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- filedup.c 24 Jan 2002 06:12:24 -0000 1.39
+++ filedup.c 12 Feb 2002 00:06:04 -0000 1.40
@@ -109,7 +109,7 @@
stdhandle = STD_INPUT_HANDLE;
}
- if (stdhandle != -1) {
+ if (stdhandle != INVALID_HANDLE_VALUE) {
if (!DuplicateHandle(hproc, old_file->filehand,
hproc, &newhand, 0,
TRUE, DUPLICATE_SAME_ACCESS)) {