Type in msvcrt

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Wed May 26 07:20:32 CDT 2004


Changelog:
	dlls/msvcrt/file.c: _setmode()
	Reset only the affected flag

Make Xilinx ise not hang at startup

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/msvcrt/file.c
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/file.c,v
retrieving revision 1.67
diff -u -w -5 -r1.67 file.c
--- wine/dlls/msvcrt/file.c	13 May 2004 00:23:25 -0000	1.67
+++ wine/dlls/msvcrt/file.c	26 May 2004 12:17:06 -0000
@@ -1437,11 +1448,11 @@
   if (mode & (~(_O_TEXT|_O_BINARY)))
     FIXME("fd (%d) mode (0x%08x) unknown\n",fd,mode);
   if ((mode & _O_TEXT) == _O_TEXT)
       MSVCRT_fdesc[fd].xflag |= WX_TEXT;
   else
-      MSVCRT_fdesc[fd].xflag &= WX_TEXT;
+      MSVCRT_fdesc[fd].xflag &= ~WX_TEXT;
   return ret;
 }
 
 /*********************************************************************
  *		_stati64 (MSVCRT.@)



More information about the wine-devel mailing list