From fe7613932edf7fa984b939770490a1393bd134ac Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 18 Mar 2012 05:54:10 +0100 Subject: tool_easysrc.c: fix --libcurl option output file text translation mode Use fopen() with "w" mode instead of "wt" to fix cygwin builds. --- src/tool_easysrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3