]> granicus.if.org Git - curl/commitdiff
Marco G. Salvagno's patch applied
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Apr 2000 17:42:43 +0000 (17:42 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Apr 2000 17:42:43 +0000 (17:42 +0000)
src/main.c

index 2545cd058dccac9705c919445c28b0789521c05c..7438b0e0ecff78391333d5f75dd46430ec4ac642 100644 (file)
@@ -879,13 +879,6 @@ int main(int argc, char *argv[])
   int i;
 
   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));