author | Linus Torvalds <torvalds@g5.osdl.org> | |
Thu, 14 Jul 2005 02:40:06 +0000 (19:40 -0700) | ||
committer | Linus Torvalds <torvalds@g5.osdl.org> | |
Thu, 14 Jul 2005 02:40:06 +0000 (19:40 -0700) | ||
commit | 85c414b5e05d2087e779cdd3587d6ad4cae56e72 | |
tree | 7a7d0acbdfa49ef53a77d09bcf965196bed950e9 | tree | snapshot |
parent | 2386d65822c912f0889ac600b1698b0659190133 | commit | diff |
git-fetch-pack: close output fd after dup'ing the input
With the socket case, the input and output fd's might end up being the same,
so we want to dup the other before we close either of them.
With the socket case, the input and output fd's might end up being the same,
so we want to dup the other before we close either of them.
fetch-pack.c | diff | blob | history |