]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
More flattening. I don't know why I turned off buffering, that makes output to consol...
authorDale Weiler <killfieldengine@gmail.com>
Sun, 14 Apr 2013 01:26:40 +0000 (01:26 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sun, 14 Apr 2013 01:26:40 +0000 (01:26 +0000)
conout.c

index 8613ece127e502c01123dfb00e6a96ca525b6537..0595f33f6fe23931417bc2d11839e78f82419f13 100644 (file)
--- a/conout.c
+++ b/conout.c
@@ -282,10 +282,6 @@ int con_change(const char *out, const char *err) {
         con_enablecolor();
     } else if (!(console.handle_err = fs_file_open(err, "w"))) return 0;
 
-    /* no buffering */
-    setvbuf(console.handle_out, NULL, _IONBF, 0);
-    setvbuf(console.handle_err, NULL, _IONBF, 0);
-
     return 1;
 }