Author: cwittich
Date: Tue Sep  9 11:13:36 2008
New Revision: 36087
URL: 
http://svn.reactos.org/svn/reactos?rev=36087&view=rev
Log:
open TypeLibs with O_BINARY (patch already send to wine)
Modified:
    trunk/reactos/tools/widl/typelib.c
Modified: trunk/reactos/tools/widl/typelib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/tools/widl/typelib.c?rev=3…
==============================================================================
--- trunk/reactos/tools/widl/typelib.c [iso-8859-1] (original)
+++ trunk/reactos/tools/widl/typelib.c [iso-8859-1] Tue Sep  9 11:13:36 2008
@@ -359,10 +359,10 @@
     file_name = wpp_find_include(importlib->name, NULL);
     if(file_name) {
-        fd = open(file_name, O_RDONLY);
+        fd = open(file_name, O_RDONLY | O_BINARY);
         free(file_name);
     }else {
-        fd = open(importlib->name, O_RDONLY);
+        fd = open(importlib->name, O_RDONLY | O_BINARY);
     }
     if(fd < 0)