sapling/eden
Puneet Kaushik 92f45a1b0c Check if the fd is valid before calling close
Summary: This code calls close on fd while exiting. If the file doesn't exist the open will return -1 and close (-1) will be called.

Reviewed By: strager

Differential Revision: D15951485

fbshipit-source-id: ea3a52517847d75e9a822e51f360be7cb2c411da
2019-06-21 17:05:07 -07:00
..
benchmarks update license headers in C++ files 2019-06-19 17:02:45 -07:00
cli enable automatic garbage collection for RocksDBLocalStore 2019-06-20 20:57:04 -07:00
docs Document how globs work 2019-03-07 14:20:57 -08:00
fs Check if the fd is valid before calling close 2019-06-21 17:05:07 -07:00
integration restore the $USER environment variable when dropping privileges 2019-06-20 21:01:36 -07:00
locale add a copyright header to glibc_en.po 2019-04-26 14:38:27 -07:00
py update license headers in .py files 2019-06-19 17:02:46 -07:00
scripts update license header in remaining files 2019-06-19 17:02:46 -07:00
test_support update license headers in .py files 2019-06-19 17:02:46 -07:00
test-data generate a new version of the "basic" snapshot 2019-03-18 11:36:42 -07:00
third-party add osxfuse kernel header 2019-03-19 10:26:24 -07:00
win add a function to parse a duration string 2019-06-11 13:08:28 -07:00
.gitignore eden: wire up mac contbuild 2019-02-05 21:52:30 -08:00
Eden.project.toml Eden.project.toml file for Nuclide 2018-04-26 11:05:23 -07:00