more and more new fixes
This commit is contained in:
parent
a01074ec94
commit
d9b791db8e
@ -12,6 +12,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, March xx 2001
|
Notes for GoldED+ 1.1.5, March xx 2001
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
! Fixed filelocking in UNIX version.
|
||||||
|
|
||||||
- Fixed "Via" kludge handling in JAM areas.
|
- Fixed "Via" kludge handling in JAM areas.
|
||||||
|
|
||||||
! Quote wrapping algorithm slightly changed.
|
! Quote wrapping algorithm slightly changed.
|
||||||
|
@ -228,6 +228,9 @@ inline int eof(int h) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
inline int sopen(const char* path, int access, int shflag, int mode) {
|
inline int sopen(const char* path, int access, int shflag, int mode) {
|
||||||
|
#ifdef __UNIX__
|
||||||
|
shflag = 0;
|
||||||
|
#endif
|
||||||
return open(path, access|shflag, mode);
|
return open(path, access|shflag, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,19 +39,11 @@
|
|||||||
#if defined(__MINGW32__) // SH_COMPAT doesn't work in Mingw32
|
#if defined(__MINGW32__) // SH_COMPAT doesn't work in Mingw32
|
||||||
#undef SH_COMPAT
|
#undef SH_COMPAT
|
||||||
#endif
|
#endif
|
||||||
#elif defined(__CYGWIN__)
|
#elif !defined(SH_DENYNO)
|
||||||
#define SH_DENYRW 0x10 // Deny read/write
|
#define SH_DENYRW 0x10 // Deny read/write
|
||||||
#define SH_DENYWR 0x20 // Deny write
|
#define SH_DENYWR 0x20 // Deny write
|
||||||
#define SH_DENYRD 0x30 // Deny read
|
#define SH_DENYRD 0x30 // Deny read
|
||||||
#define SH_DENYNO 0x40 // Deny nothing
|
#define SH_DENYNO 0x40 // Deny nothing
|
||||||
#else
|
|
||||||
#ifndef SH_DENYNO
|
|
||||||
#define SH_DENYNO 0
|
|
||||||
#define SH_DENYRD 0
|
|
||||||
#define SH_DENYWR 0
|
|
||||||
#define SH_DENYRW 0
|
|
||||||
#define SH_COMPAT 0
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef SH_COMPAT
|
#ifndef SH_COMPAT
|
||||||
|
Reference in New Issue
Block a user