Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7660/libntfs
Modified Files:
logging.c
Log Message:
fflush() ntfs_log_ streams. (Christophe)
Index: logging.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/logging.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -p -r1.3 -r1.4
--- logging.c 25 Oct 2005 01:28:11 -0000 1.3
+++ logging.c 26 Oct 2005 19:24:45 -0000 1.4
@@ -369,6 +369,7 @@ int ntfs_logging_handler_printf(const ch
ret += fprintf(stream, " : %s\n", strerror(olderr));
}
+ fflush(stream);
errno = olderr;
return ret;
}
@@ -447,6 +448,7 @@ int ntfs_logging_handler_colour(const ch
if (suffix)
ret += fprintf(stream, suffix);
+ fflush(stream);
errno = olderr;
return ret;
}
|