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