fflush() ntfs_log_ streams. (Christophe)

edge.strict_endians
szaka 2005-10-26 19:24:45 +00:00
parent 98e5cda13e
commit 0dc3b0597c
2 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,7 @@ xx/xx/2005 - 1.12.2-WIP
Sprintf(). Forward callers to ntfs_log_*(). (Yuval)
- Add some debugging to ntfsdecrypt.c to allow printing of the private
key after it is decrypted (this is ifdeffed out by default). (Anton)
- fflush() ntfs_log_ streams. (Christophe)
10/10/2005 - 1.12.1 - Minor fix to location of mount.ntfs-fuse and mkfs.ntfs.

View File

@ -369,6 +369,7 @@ int ntfs_logging_handler_printf(const char *function, const char *file,
ret += fprintf(stream, " : %s\n", strerror(olderr));
}
fflush(stream);
errno = olderr;
return ret;
}
@ -447,6 +448,7 @@ int ntfs_logging_handler_colour(const char *function, const char *file,
if (suffix)
ret += fprintf(stream, suffix);
fflush(stream);
errno = olderr;
return ret;
}