projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b35bcd
)
[PATCH] Fix fd leak in git-cvsimport-script
author
Sven Verdoolaege
<skimo@kotnet.org>
Wed, 6 Jul 2005 06:37:12 +0000
(08:37 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 6 Jul 2005 15:47:08 +0000
(08:47 -0700)
Remember to close temporary file
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
git-cvsimport-script
patch
|
blob
|
history
diff --git
a/git-cvsimport-script
b/git-cvsimport-script
index
4c0333b
..
6d5a7fa
100755
(executable)
--- a/
git-cvsimport-script
+++ b/
git-cvsimport-script
@@
-317,6
+317,7
@@
sub file {
$res = $self->_line($fh);
die "No input: $fn $rev\n" unless defined $res;
}
+ close ($fh);
return ($name, $res);
}