# | Line 1800 | Line 1800 | static int16 fs_set_fpos(uint32 pb) | |
---|---|---|
1800 | return fnOpnErr; | |
1801 | ||
1802 | // Set file position | |
1803 | < | switch (ReadMacInt16(pb + ioPosMode)) { |
1803 | > | switch (ReadMacInt16(pb + ioPosMode) & 3) { |
1804 | case fsFromStart: | |
1805 | if (lseek(fd, ReadMacInt32(pb + ioPosOffset), SEEK_SET) < 0) | |
1806 | return posErr; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |