Skip to content

Commit 92e4d82

Browse files
Merge pull request #5877 from loops/LinuxLocking
Fix locking problem on Linux port
2 parents ded7cc5 + 4495ea7 commit 92e4d82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dos/drive_local.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2958,6 +2958,7 @@ bool LocalFile::LockFile(uint8_t mode, uint32_t pos, uint16_t size) {
29582958
case EINTR:
29592959
case ENOLCK:
29602960
case EAGAIN:
2961+
case EACCES:
29612962
DOS_SetError(0x21);
29622963
break;
29632964
case EBADF:

0 commit comments

Comments
 (0)