summaryrefslogtreecommitdiff
path: root/Documentation/tutorial.txt
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-02-02 08:00:03 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-03 05:33:18 (GMT)
commit3cf8b462d2dbe78233bba5c0765ecaa2c6b6cd99 (patch)
treec2435bd80d4bdb7025cba8e37d8e0d6bfa45868f /Documentation/tutorial.txt
parent0d18e41e008e9ac1f371d090e2e1b85481221796 (diff)
downloadgit-3cf8b462d2dbe78233bba5c0765ecaa2c6b6cd99.zip
git-3cf8b462d2dbe78233bba5c0765ecaa2c6b6cd99.tar.gz
git-3cf8b462d2dbe78233bba5c0765ecaa2c6b6cd99.tar.bz2
Don't leak file descriptors from unavailable pack files.
If open_packed_git failed it may have been because the packfile actually exists and is readable, but some sort of verification did not pass. In this case open_packed_git left pack_fd filled in, as the file descriptor is valid. We don't want to leak the file descriptor, nor do we want to allow someone in the future to use this packed_git. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'Documentation/tutorial.txt')
0 files changed, 0 insertions, 0 deletions