patch to add binary mode on opening files (for Windows+Cygwin compatibility).

This commit is contained in:
dan committed 2002-09-15 20:37:41 +00:00
1 parent 3fc803c0d8
commit 92b012e800
20 files changed
+41 -34

No files matched your search

+1 -1
View File
@@ -595,7 +595,7 @@ readBlackBoxStyle(char *path)
char buffer[128], char token[128];
WMPropList *style, *p;
f = fopen(path, "r");
f = fopen(path, "rb");
if (!f) {
perror(path);
return NULL;