summaryrefslogtreecommitdiff
path: root/read-cache.c
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2016-10-24 20:02:59 +0200
committerJunio C Hamano <gitster@pobox.com>2016-10-25 11:09:54 -0700
commitcd66ada06588f797a424dd1f6da1c6bb51de1660 (patch)
tree0dc5420dbe93ec54c0982f320b899c516a7c967c /read-cache.c
parenta5436b57941d99302a4cf68373da6288c11f0340 (diff)
downloadgit-cd66ada06588f797a424dd1f6da1c6bb51de1660.tar.gz
sha1_file: open window into packfiles with O_CLOEXEC
All processes that the Git main process spawns inherit the open file descriptors of the main process. These leaked file descriptors can cause problems. Use the O_CLOEXEC flag similar to 05d1ed61 to fix the leaked file descriptors. Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'read-cache.c')
0 files changed, 0 insertions, 0 deletions