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.24 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.25 by cebix, 2001-03-31T14:31:58Z

# Line 1237 | Line 1237 | read_next_de:
1237   #endif
1238          WriteMacInt32(pb + ioFlMdDat, st.st_mtime + TIME_OFFSET);
1239  
1240 <        get_finfo(full_path, pb + ioFlFndrInfo, hfs ? pb + ioFlXFndrInfo : 0);
1240 >        get_finfo(full_path, pb + ioFlFndrInfo, hfs ? pb + ioFlXFndrInfo : 0, false);
1241  
1242          WriteMacInt16(pb + ioFlStBlk, 0);
1243          WriteMacInt32(pb + ioFlLgLen, st.st_size);
# Line 1274 | Line 1274 | static int16 fs_set_file_info(uint32 pb,
1274                  return fnfErr;
1275  
1276          // Set Finder info
1277 <        set_finfo(full_path, pb + ioFlFndrInfo, hfs ? pb + ioFlXFndrInfo : 0);
1277 >        set_finfo(full_path, pb + ioFlFndrInfo, hfs ? pb + ioFlXFndrInfo : 0, false);
1278  
1279          //!! times
1280          return noErr;
# Line 1366 | Line 1366 | read_next_de:
1366          WriteMacInt32(pb + ioFlMdDat, mtime + TIME_OFFSET);
1367          WriteMacInt32(pb + ioFlBkDat, 0);
1368  
1369 <        get_finfo(full_path, pb + ioFlFndrInfo, pb + ioFlXFndrInfo);
1369 >        get_finfo(full_path, pb + ioFlFndrInfo, pb + ioFlXFndrInfo, S_ISDIR(st.st_mode));
1370  
1371          if (S_ISDIR(st.st_mode)) {
1372  
# Line 1422 | Line 1422 | static int16 fs_set_cat_info(uint32 pb)
1422                  return errno2oserr();
1423  
1424          // Set Finder info
1425 <        set_finfo(full_path, pb + ioFlFndrInfo, pb + ioFlXFndrInfo);
1425 >        set_finfo(full_path, pb + ioFlFndrInfo, pb + ioFlXFndrInfo, S_ISDIR(st.st_mode));
1426  
1427          //!! times
1428          return noErr;
# Line 1510 | Line 1510 | static int16 fs_open(uint32 pb, uint32 d
1510          WriteMacInt32(fcb + fcbVPtr, vcb);
1511          WriteMacInt32(fcb + fcbClmpSize, CLUMP_SIZE);
1512  
1513 <        get_finfo(full_path, fs_data + fsPB, 0);
1513 >        get_finfo(full_path, fs_data + fsPB, 0, false);
1514          WriteMacInt32(fcb + fcbFType, ReadMacInt32(fs_data + fsPB + fdType));
1515  
1516          WriteMacInt32(fcb + fcbCatPos, fd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines