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

David Cantrell dcantrell at redhat.com
Mon Mar 12 16:21:07 CET 2007


On Mon, 2007-03-12 at 15:10 +0100, Jim Meyering wrote:
> 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.

Thanks, Jim.

-- 
David Cantrell <dcantrell at redhat.com>
Red Hat / Westford, MA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20070312/0b236ff6/attachment.pgp


More information about the parted-devel mailing list