mirror of https://github.com/moparisthebest/curl
Marco G. Salvagno's patch applied
This commit is contained in:
parent
ae6a5018dd
commit
d62d25bdb4
|
@ -879,13 +879,6 @@ int main(int argc, char *argv[])
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
outs.stream = stdout;
|
outs.stream = stdout;
|
||||||
#ifdef __EMX__
|
|
||||||
/* 20000318 mgs
|
|
||||||
* we call _fsetmode to fix the problem with fwrite converting newline
|
|
||||||
* characters (you get mangled text files, and corrupted binary files when
|
|
||||||
* you download to stdout and redirect it to a file). */
|
|
||||||
_fsetmode(stdout, "b");
|
|
||||||
#endif
|
|
||||||
|
|
||||||
memset(&config, 0, sizeof(struct Configurable));
|
memset(&config, 0, sizeof(struct Configurable));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue