index
:
delta/patch.git
base85
baserock/bootstrap
baserock/bootstrap-pass1
baserock/bootstrap-pass2
baserock/build-essential
baserock/morph
baserock/samthursfield/build-essential
baserock/v2.7.1
master
origin
rcs-history
testing
git.savannah.gnu.org: git/patch.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
src/inp.c
3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/inp.c b/src/inp.c
index 9cc140f..6387587 100644
--- a/
src/inp.c
+++ b/
src/inp.c
@@ -61,7 +61,8 @@ re_input (void)
}
}
else {
- close (tifd);
+ if (tifd >= 0)
+ close (tifd);
tifd = -1;
if (tibuf[0])
{