mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 12:23:30 +00:00
open TypeLibs with O_BINARY (patch already send to wine)
svn path=/trunk/; revision=36087
This commit is contained in:
@@ -359,10 +359,10 @@ static void read_importlib(importlib_t *importlib)
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user