From: Yang Tse Date: Sun, 18 Mar 2012 04:54:10 +0000 (+0100) Subject: tool_easysrc.c: fix --libcurl option output file text translation mode X-Git-Tag: curl-7_25_0~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe7613932edf7fa984b939770490a1393bd134ac;p=curl tool_easysrc.c: fix --libcurl option output file text translation mode Use fopen() with "w" mode instead of "wt" to fix cygwin builds. --- diff --git a/src/tool_easysrc.c b/src/tool_easysrc.c index 00dbd0ac3..59664bddf 100644 --- a/src/tool_easysrc.c +++ b/src/tool_easysrc.c @@ -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