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.34 by gbeauche, 2007-11-03T09:59:39Z vs.
Revision 1.36 by asvitkine, 2008-06-20T00:39:47Z

# Line 1 | Line 1
1   /*
2   *  extfs.cpp - MacOS file system for native file system access
3   *
4 < *  Basilisk II (C) 1997-2005 Christian Bauer
4 > *  Basilisk II (C) 1997-2008 Christian Bauer
5   *
6   *  This program is free software; you can redistribute it and/or modify
7   *  it under the terms of the GNU General Public License as published by
# 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