[parted-devel] hfs.c: Detect write failure

Jim Meyering jim at meyering.net
Mon Mar 12 15:10:39 CET 2007


Jim Meyering <jim at meyering.net> wrote:
> Checking fclose's return value is a must
> for any file handle that might have been written to.
> --------------------
>
> hfs.c: Detect write failure
> * libparted/fs/hfs/hfs.c (hfs_extract_file, hfs_extract_bitmap):
> (hfs_extract_mdb, hfsplus_extract_file, hfsplus_extract_vh):
> Fail when fclose fails for a written-to file handle.

FYI, I've just pushed this change.



More information about the parted-devel mailing list