more and more new fixes

This commit is contained in:
Alexander S. Aganichev 2001-03-04 14:14:33 +00:00
parent a01074ec94
commit d9b791db8e
3 changed files with 6 additions and 9 deletions

View File

@ -12,6 +12,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, March xx 2001
______________________________________________________________________
! Fixed filelocking in UNIX version.
- Fixed "Via" kludge handling in JAM areas.
! Quote wrapping algorithm slightly changed.

View File

@ -228,6 +228,9 @@ inline int eof(int h) {
}
inline int sopen(const char* path, int access, int shflag, int mode) {
#ifdef __UNIX__
shflag = 0;
#endif
return open(path, access|shflag, mode);
}

View File

@ -39,19 +39,11 @@
#if defined(__MINGW32__) // SH_COMPAT doesn't work in Mingw32
#undef SH_COMPAT
#endif
#elif defined(__CYGWIN__)
#elif !defined(SH_DENYNO)
#define SH_DENYRW 0x10 // Deny read/write
#define SH_DENYWR 0x20 // Deny write
#define SH_DENYRD 0x30 // Deny read
#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
#ifndef SH_COMPAT