1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-01-14 23:46:14 +00:00

Merge pull request #170 from blakemcbride/dont-open-unopened-file

Don't close a file that hasn't been opened (2)
This commit is contained in:
Larry Masinter 2021-01-05 18:34:55 -08:00 committed by GitHub
commit 26dc2e44f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);
}