HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3230d
)
(Fload) <!load_dangerous_libraries>: Close fd.
author
Dave Love
<fx@gnu.org>
Wed, 30 Oct 2002 19:15:17 +0000
(19:15 +0000)
committer
Dave Love
<fx@gnu.org>
Wed, 30 Oct 2002 19:15:17 +0000
(19:15 +0000)
src/lread.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lread.c
b/src/lread.c
index
5dc3cc9
..
c60064b
100644
(file)
--- a/
src/lread.c
+++ b/
src/lread.c
@@
-793,8
+793,12
@@
Return t if file exists. */)
{
safe_p = 0;
if (!load_dangerous_libraries)
- error ("File `%s' was not compiled in Emacs",
- SDATA (found));
+ {
+ if (fd >= 0)
+ emacs_close (fd);
+ error ("File `%s' was not compiled in Emacs",
+ SDATA (found));
+ }
else if (!NILP (nomessage))
message_with_string ("File `%s' not compiled in Emacs", found, 1);
}