windows-only bit
This commit is contained in:
+10
-6
@@ -665,13 +665,17 @@ int lev, oflag;
|
|||||||
void
|
void
|
||||||
really_close()
|
really_close()
|
||||||
{
|
{
|
||||||
int fd = lftrack.fd;
|
int fd;
|
||||||
|
|
||||||
lftrack.nethack_thinks_it_is_open = FALSE;
|
if (lftrack.init) {
|
||||||
lftrack.fd = -1;
|
fd = lftrack.fd;
|
||||||
lftrack.oflag = 0;
|
|
||||||
if (fd != -1)
|
lftrack.nethack_thinks_it_is_open = FALSE;
|
||||||
(void) close(fd);
|
lftrack.fd = -1;
|
||||||
|
lftrack.oflag = 0;
|
||||||
|
if (fd != -1)
|
||||||
|
(void) close(fd);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user