summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2012-03-18 05:54:10 +0100
committerYang Tse <yangsita@gmail.com>2012-03-18 05:54:10 +0100
commitfe7613932edf7fa984b939770490a1393bd134ac (patch)
treea357be2ad45155a2d0fef4f93d5230ef6c387b3b
parentffb67599b3c8369ffa467882ecea05ad377f2d90 (diff)
downloadcurl-fe7613932edf7fa984b939770490a1393bd134ac.tar.gz
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.c2
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