PATCH: msvcrt.isatty
Marcus Meissner
marcus at jet.franken.de
Mon Jul 23 06:42:27 CDT 2001
Hi,
Changelog:
Pass handle to GetFileType, not MSVCRT fd.
Index: file.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/file.c,v
retrieving revision 1.8
diff -u -r1.8 file.c
--- file.c 2001/07/10 19:03:46 1.8
+++ file.c 2001/07/23 12:27:34
@@ -645,7 +645,7 @@
if (hand == INVALID_HANDLE_VALUE)
return 0;
- return GetFileType(fd) == FILE_TYPE_CHAR? 1 : 0;
+ return GetFileType(hand) == FILE_TYPE_CHAR? 1 : 0;
}
/*********************************************************************
More information about the wine-patches
mailing list