Commit e63304b7 authored by Dave Love's avatar Dave Love

(Fload) <!load_dangerous_libraries>: Close fd.

parent ed3230db
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment