1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-15 07:54:13 +00:00

Don't close a file that hasn't been opened

This commit is contained in:
Blake McBride 2021-01-03 12:16:02 -06:00
parent c097563730
commit 03c0d429f1

View File

@ -453,7 +453,6 @@ LispPTR COM_openfile(register LispPTR *args)
* maintain a version status.
*/
if (maintain_version(file, (FileName *)NULL, 1) == 0) {
TIMEOUT(rval = close(fd));
*Lisp_errno = errno;
return (NIL);
}