tool_easysrc.c: fix --libcurl option output file text translation mode
Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
This commit is contained in:
Родитель
ffb67599b3
Коммит
fe7613932e
|
@ -176,7 +176,7 @@ void dumpeasysrc(struct Configurable *config)
|
|||
FILE *out;
|
||||
bool fopened = FALSE;
|
||||
if(strcmp(o, "-")) {
|
||||
out = fopen(o, "wt");
|
||||
out = fopen(o, "w");
|
||||
fopened = TRUE;
|
||||
}
|
||||
else
|
||||
|
|
Загрузка…
Ссылка в новой задаче