mmap: set FD_CLOEXEC for file descriptors we keep open for mmap()
commit2c039da804ee0542ff41d2f22a444d04a2d37856
authorJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 08:30:01 +0000 (29 00:30 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 29 Dec 2006 19:36:46 +0000 (29 11:36 -0800)
tree8efd91254adfaa39b57e750f934e0127ee6352a5
parent9c18df19073bad62e16d6b6b8e1939fd15424612
mmap: set FD_CLOEXEC for file descriptors we keep open for mmap()

I do not have any proof that this matters to any existing
problems I am seeing, but I do not think of any reason not to do
this.

Signed-off-by: Junio C Hamano <junkio@cox.net>
sha1_file.c