Homec4science

Fix two issues with Filesystem::writeUniqueFile

Authored by epriestley <git@epriestley.com> on Oct 7 2013, 21:50.

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

Committed
epriestley <git@epriestley.com>Oct 7 2013, 21:50
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU6704b4c537be: Remove spurious +x
Branches
Unknown
Tags
Unknown

Event Timeline

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