ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/extfs.cpp
(Generate patch)

Comparing BasiliskII/src/extfs.cpp (file contents):
Revision 1.35 by gbeauche, 2008-01-01T09:40:31Z vs.
Revision 1.36 by asvitkine, 2008-06-20T00:39:47Z

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines