@@ -63,12 +63,12 @@ if (buffer[0] == 0x80) { for (size_t i = 1; i < length; i++) value = (value << 8) | buffer[i]; } else - value = [stringFromBuffer(buffer, length, - OF_STRING_ENCODING_ASCII) octalValue]; + value = stringFromBuffer(buffer, length, + OF_STRING_ENCODING_ASCII).octalValue; if (value > max) @throw [OFOutOfRangeException exception]; return value; @@ -108,11 +108,11 @@ (of_time_interval_t)octalValueFromBuffer( header + 136, 12, UINTMAX_MAX)]; _type = header[156]; targetFileName = stringFromBuffer(header + 157, 100, encoding); - if ([targetFileName length] > 0) + if (targetFileName.length > 0) _targetFileName = [targetFileName copy]; if (_type == '\0') _type = OF_TAR_ARCHIVE_ENTRY_TYPE_FILE; @@ -128,11 +128,11 @@ header + 329, 8, UINT32_MAX); _deviceMinor = (uint32_t)octalValueFromBuffer( header + 337, 8, UINT32_MAX); prefix = stringFromBuffer(header + 345, 155, encoding); - if ([prefix length] > 0) { + if (prefix.length > 0) { OFString *fileName = [OFString stringWithFormat: @"%@/%@", prefix, _fileName]; [_fileName release]; _fileName = [fileName copy]; @@ -278,13 +278,12 @@ @"\tOwner = %@\n" @"\tGroup = %@\n" @"\tDevice major = %" PRIu32 @"\n" @"\tDevice minor = %" PRIu32 @"\n" @">", - [self class], _fileName, _mode, _UID, _GID, _size, - _modificationDate, _type, _targetFileName, _owner, _group, - _deviceMajor, _deviceMinor]; + self.class, _fileName, _mode, _UID, _GID, _size, _modificationDate, + _type, _targetFileName, _owner, _group, _deviceMajor, _deviceMinor]; [ret retain]; objc_autoreleasePoolPop(pool); @@ -309,11 +308,11 @@ [OFString stringWithFormat: @"%06" PRIo16 " ", _GID], 8, OF_STRING_ENCODING_ASCII); stringToBuffer(buffer + 124, [OFString stringWithFormat: @"%011" PRIo64 " ", _size], 12, OF_STRING_ENCODING_ASCII); - modificationDate = [_modificationDate timeIntervalSince1970]; + modificationDate = _modificationDate.timeIntervalSince1970; stringToBuffer(buffer + 136, [OFString stringWithFormat: @"%011" PRIo64 " ", modificationDate], 12, OF_STRING_ENCODING_ASCII); /*