Borland bits (from Yitzhak)

This commit is contained in:
nethack.allison
2002-09-02 14:29:57 +00:00
parent 98d53c93a8
commit 46b88235a1
3 changed files with 4 additions and 3 deletions

View File

@@ -544,13 +544,13 @@ int lev, oflag;
lftrack.nethack_thinks_it_is_open = TRUE;
} else {
really_close();
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
lftrack.fd = fd;
lftrack.oflag = oflag;
lftrack.nethack_thinks_it_is_open = TRUE;
}
} else {
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
lftrack.fd = fd;
lftrack.oflag = oflag;
if (fd)