mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
patch to add binary mode on opening files (for Windows+Cygwin compatibility).
This commit is contained in:
@@ -120,7 +120,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
if (filename) {
|
||||
file = fopen(filename, "r");
|
||||
file = fopen(filename, "rb");
|
||||
if (!file) {
|
||||
char line[1024];
|
||||
sprintf(line, "%s: could not open \"%s\"", argv[0], filename);
|
||||
|
||||
Reference in New Issue
Block a user