avoid cosmetic problems when running fsck under logsave.
2003-04-16 Theodore Ts'o <tytso@mit.edu>
+ * fsck.c (main): Put stdout and stderr into non-buffered mode to
+ avoid cosmetic problems when running fsck under logsave.
+
* mke2fs.c (PRS): Avoid printing the version banner for mke2fs if
the -q option is specified. (Addresses Debian bug #172716)
const char *fstab;
struct fs_info *fs;
+ setvbuf(stdout, NULL, _IONBF, BUFSIZ);
+ setvbuf(stderr, NULL, _IONBF, BUFSIZ);
+
#ifdef ENABLE_NLS
setlocale(LC_MESSAGES, "");
setlocale(LC_CTYPE, "");