Patch level : 12.0 no-patch

Files correlati     : 
Commento            : Caricate modifiche suggerite da Alessandro (sono ovviamente da testare)

git-svn-id: svn://10.65.10.50/branches/R_10_00@24289 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2018-01-19 09:29:32 +00:00
parent 388e9345fc
commit 090aa22750
2 changed files with 5 additions and 2 deletions

View File

@ -102,7 +102,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 (lm == LK_UNLCK)
_locking(S->F, LK_NBLCK, 1L);
if (lm == LK_UNLCK)
_locking(S->F, LK_NBLCK, 1L);
if (_locking(S->F, lm, 1L) == -1)

View File

@ -226,7 +226,7 @@ void CPutFile(logicname,filed,dirflg)
int dirflg; /* flag per file comuni */
{
CWrite(&fdir[dirflg], (RecType)filed, (long)logicname, NoLock /* non viene mai bloccato UnLock*/);
CWrite(&fdir[dirflg], (RecType)filed, (long)logicname, UnLock);
}
/*