@@ -25,11 +25,11 @@ @implementation OFFile + fileWithPath: (OFString*)path andMode: (OFString*)mode { - return [[[OFFile alloc] initWithPath: path + return [[[self alloc] initWithPath: path andMode: mode] autorelease]; } + (void)changeModeOfFile: (OFString*)path toMode: (mode_t)mode