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.7 by cebix, 1999-10-27T16:59:35Z vs.
Revision 1.8 by cebix, 1999-11-01T16:24:06Z

# Line 1852 | Line 1852 | static int16 fs_create(uint32 pb, uint32
1852                  return dupFNErr;
1853  
1854          // Create file
1855 <        int fd = creat(full_path, 0664);
1855 >        int fd = creat(full_path, 0666);
1856          if (fd < 0)
1857                  return errno2oserr();
1858          else {
# Line 1877 | Line 1877 | static int16 fs_dir_create(uint32 pb)
1877                  return dupFNErr;
1878  
1879          // Create directory
1880 <        if (mkdir(full_path, 0775) < 0)
1880 >        if (mkdir(full_path, 0777) < 0)
1881                  return errno2oserr();
1882          else {
1883                  WriteMacInt32(pb + ioDirID, fs_item->id);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines