mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
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:
parent
ffb67599b3
commit
fe7613932e
@ -176,7 +176,7 @@ void dumpeasysrc(struct Configurable *config)
|
|||||||
FILE *out;
|
FILE *out;
|
||||||
bool fopened = FALSE;
|
bool fopened = FALSE;
|
||||||
if(strcmp(o, "-")) {
|
if(strcmp(o, "-")) {
|
||||||
out = fopen(o, "wt");
|
out = fopen(o, "w");
|
||||||
fopened = TRUE;
|
fopened = TRUE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user