mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
cd2f9f4715
Once `mmap` succeeded, it's no longer necessary to keep the underlying fd open. Therefore just close them as an attempt to reduce file descriptors opened by the process. Thanks for spectral from Google for pointing out that fd could be closed. Test Plan: ``` make clean local rt test-cstore.t test-*pack*.t ``` Differential Revision: https://phab.mercurial-scm.org/D1185 |
||
---|---|---|
.. | ||
cdatapack_dump.c | ||
cdatapack_get.c | ||
cdatapack.c | ||
cdatapack.h | ||
Makefile |