@@ -214,11 +214,11 @@ @throw [OFOutOfMemoryException exceptionWithRequestedSize: size]; @try { OFFile *file = [[OFFile alloc] initWithPath: path - mode: @"rb"]; + mode: @"r"]; @try { [file readIntoBuffer: buffer exactLength: size]; } @finally { [file release]; @@ -592,11 +592,11 @@ #ifdef OF_HAVE_FILES - (void)writeToFile: (OFString *)path { OFFile *file = [[OFFile alloc] initWithPath: path - mode: @"wb"]; + mode: @"w"]; @try { [file writeBuffer: _items length: _count * _itemSize]; } @finally {