[CRT]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 12 May 2014 16:01:49 +0000 (16:01 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 12 May 2014 16:01:49 +0000 (16:01 +0000)
* Update ioinfo structure.
CORE-8080

svn path=/trunk/; revision=63258

reactos/lib/sdk/crt/stdio/file.c

index 2a13337..308ba8f 100644 (file)
@@ -96,11 +96,12 @@ int *__p___mb_cur_max(void);
 #define MAX_FILES 2048
 #define FD_BLOCK_SIZE 64
 
+/* ioinfo structure size is different in msvcrXX.dll's */
 typedef struct {
     HANDLE              handle;
     unsigned char       wxflag;
-    char                unk1;
-    BOOL                crit_init;
+    char                lookahead[3];
+    int                 exflag;
     CRITICAL_SECTION    crit;
 } ioinfo;