replace setlinebuf() with ANSI-C/XPG3/4 setvbuf()

This commit is contained in:
Mark Anderson
1993-08-04 17:00:17 +00:00
parent fac038af71
commit eb3cf14172

View File

@@ -86,8 +86,12 @@ char *argv[];
src_file = in_file;
/* Use line buffered output */
setvbuf(stdout,NULL,_IOLBF,0);
setvbuf(stderr,NULL,_IOLBF,0);
/* setlinebuf() isn't ANSI-C or XPG2/3/4
setlinebuf(stdout);
setlinebuf(stderr);
*/
printf("/* %s: %s */\n\n", sncVersion, in_file);