@@ -243,17 +243,17 @@ @try { void *pool = objc_autoreleasePoolPush(); int flags; #ifndef OF_AMIGAOS - if ((flags = parseMode([mode UTF8String])) == -1) + if ((flags = parseMode(mode.UTF8String)) == -1) @throw [OFInvalidArgumentException exception]; flags |= O_BINARY | O_CLOEXEC; # if defined(OF_WINDOWS) - if ((handle = _wopen([path UTF16String], flags, + if ((handle = _wopen(path.UTF16String, flags, _S_IREAD | _S_IWRITE)) == -1) # elif defined(OF_HAVE_OFF64_T) if ((handle = open64([path cStringWithEncoding: [OFLocale encoding]], flags, 0666)) == -1) # else @@ -268,11 +268,11 @@ if ((handle = malloc(sizeof(*handle))) == NULL) @throw [OFOutOfMemoryException exceptionWithRequestedSize: sizeof(*handle)]; @try { - if ((flags = parseMode([mode UTF8String], + if ((flags = parseMode(mode.UTF8String, &handle->append)) == -1) @throw [OFInvalidArgumentException exception]; if ((handle->handle = Open([path cStringWithEncoding: [OFLocale encoding]], flags)) == 0) { @@ -356,11 +356,11 @@ { void *pool = objc_autoreleasePoolPush(); OFString *fileSystemRepresentation; @try { - fileSystemRepresentation = [URL fileSystemRepresentation]; + fileSystemRepresentation = URL.fileSystemRepresentation; } @catch (id e) { [self release]; @throw e; }