Patch level : 12.0 no patch
Files correlati : tentativo di miglirare il lock di dir per Visual Studio 2017 git-svn-id: svn://10.65.10.50/branches/R_10_00@24284 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
18338cbe85
commit
3cdf409202
@ -103,8 +103,10 @@ int seeklk(S, pos, lm, LockMode, rec)
|
||||
if (_lseek(S->F, LOCK_OFF + rec, SEEK_SET) == -1L)
|
||||
if ((S->IOR = CIOResult()) != NoErr) return(-1);
|
||||
|
||||
if ( _locking(S->F,lm, 1L) == -1)
|
||||
{
|
||||
if (lm == LK_UNLCK)
|
||||
_locking(S->F, LK_NBLCK, 1L);
|
||||
if (_locking(S->F, lm, 1L) == -1)
|
||||
{
|
||||
S->IOR = CIOResult();
|
||||
|
||||
// EACCESS = 13, EAGAIN = 11
|
||||
|
Loading…
x
Reference in New Issue
Block a user