1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

windows: fopen files with "wb"

This commit is contained in:
Nick Wellnhofer
2024-06-22 21:28:40 +02:00
parent 5589c9ea6f
commit 2d96adb27b
4 changed files with 6 additions and 6 deletions

View File

@@ -1010,7 +1010,7 @@ main(int argc ATTRIBUTE_UNUSED, char **argv ATTRIBUTE_UNUSED) {
int ret = 0;
int old_errors, old_tests, old_leaks, expected_errors;
logfile = fopen(LOGFILE, "w");
logfile = fopen(LOGFILE, "wb");
if (logfile == NULL) {
fprintf(stderr,
"Could not open the log file, running in verbose mode\n");