diff options
author | Lars Schneider <larsxschneider@gmail.com> | 2016-10-24 20:02:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-25 11:09:54 -0700 |
commit | cd66ada06588f797a424dd1f6da1c6bb51de1660 (patch) | |
tree | 0dc5420dbe93ec54c0982f320b899c516a7c967c /t/t4152-am-subjects.sh | |
parent | sha1_file: rename git_open_noatime() to git_open() (diff) | |
download | tgif-cd66ada06588f797a424dd1f6da1c6bb51de1660.tar.xz |
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 't/t4152-am-subjects.sh')
0 files changed, 0 insertions, 0 deletions