Borland bits (from Yitzhak)
This commit is contained in:
@@ -140,6 +140,7 @@ char _FAR * _RTLENTRY _EXPFUNC getcwd( char _FAR *__buf, int __buflen );
|
|||||||
int _RTLENTRY _EXPFUNC write (int __handle, const void _FAR *__buf, unsigned __len);
|
int _RTLENTRY _EXPFUNC write (int __handle, const void _FAR *__buf, unsigned __len);
|
||||||
int _RTLENTRY _EXPFUNC creat (const char _FAR *__path, int __amode);
|
int _RTLENTRY _EXPFUNC creat (const char _FAR *__path, int __amode);
|
||||||
int _RTLENTRY _EXPFUNC close (int __handle);
|
int _RTLENTRY _EXPFUNC close (int __handle);
|
||||||
|
int _RTLENTRY _EXPFUNC _close (int __handle);
|
||||||
int _RTLENTRY _EXPFUNC open (const char _FAR *__path, int __access,... /*unsigned mode*/);
|
int _RTLENTRY _EXPFUNC open (const char _FAR *__path, int __access,... /*unsigned mode*/);
|
||||||
long _RTLENTRY _EXPFUNC lseek (int __handle, long __offset, int __fromwhere);
|
long _RTLENTRY _EXPFUNC lseek (int __handle, long __offset, int __fromwhere);
|
||||||
int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
|
int _RTLENTRY _EXPFUNC read (int __handle, void _FAR *__buf, unsigned __len);
|
||||||
|
|||||||
+2
-2
@@ -544,13 +544,13 @@ int lev, oflag;
|
|||||||
lftrack.nethack_thinks_it_is_open = TRUE;
|
lftrack.nethack_thinks_it_is_open = TRUE;
|
||||||
} else {
|
} else {
|
||||||
really_close();
|
really_close();
|
||||||
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
|
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
|
||||||
lftrack.fd = fd;
|
lftrack.fd = fd;
|
||||||
lftrack.oflag = oflag;
|
lftrack.oflag = oflag;
|
||||||
lftrack.nethack_thinks_it_is_open = TRUE;
|
lftrack.nethack_thinks_it_is_open = TRUE;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
fd = sopen(name, oflag,_SH_DENYRW, FCMASK);
|
fd = sopen(name, oflag,SH_DENYRW, FCMASK);
|
||||||
lftrack.fd = fd;
|
lftrack.fd = fd;
|
||||||
lftrack.oflag = oflag;
|
lftrack.oflag = oflag;
|
||||||
if (fd)
|
if (fd)
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ rc = $(bccbin)\brc32
|
|||||||
link = $(bccbin)\ilink32
|
link = $(bccbin)\ilink32
|
||||||
implib = $(bccbin)\tlib
|
implib = $(bccbin)\tlib
|
||||||
|
|
||||||
cflags = -c -D_X86_=1 -DWINVER=$(MAKE_WINVER) -q -I$(bccinc) -w-pia -w-rch -w-par -w-aus
|
cflags = -c -D_X86_=1 -DWINVER=$(MAKE_WINVER) -q -I$(bccinc) -w-pia -w-rch -w-csu -w-par -w-aus
|
||||||
cdebug = -y -v -O2
|
cdebug = -y -v -O2
|
||||||
cvarsmt = -DWIN32 -D_WIN32 -D_MT
|
cvarsmt = -DWIN32 -D_WIN32 -D_MT
|
||||||
lflags =
|
lflags =
|
||||||
|
|||||||
Reference in New Issue
Block a user