Home GnuPG

Fix two issues with Filesystem::writeUniqueFile
944738bdf937Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix two issues with Filesystem::writeUniqueFile

Summary:

  • fclose() error code was not checked.
  • Writing 0 bytes would be treated as an error.

Test Plan: Unit test.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, glen

Differential Revision: https://secure.phabricator.com/D7262

Details

Provenance
epriestley <git@epriestley.com>Authored on Oct 7 2013, 9:50 PM
Parents
rPHUTIL6704b4c537be: Remove spurious +x
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTIL944738bdf937: Fix two issues with Filesystem::writeUniqueFile (authored by epriestley <git@epriestley.com>).Oct 7 2013, 9:50 PM