diff options
author | Yang Tse <yangsita@gmail.com> | 2012-03-18 05:54:10 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2012-03-18 05:54:10 +0100 |
commit | fe7613932edf7fa984b939770490a1393bd134ac (patch) | |
tree | a357be2ad45155a2d0fef4f93d5230ef6c387b3b | |
parent | ffb67599b3c8369ffa467882ecea05ad377f2d90 (diff) |
tool_easysrc.c: fix --libcurl option output file text translation mode
Use fopen() with "w" mode instead of "wt" to fix cygwin builds.
-rw-r--r-- | src/tool_easysrc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |