@@ -262,11 +262,12 @@ } } } @implementation OFLHAArchiveEntry -@synthesize method = _method, compressedSize = _compressedSize; +@synthesize compressionMethod = _compressionMethod; +@synthesize compressedSize = _compressedSize; @synthesize uncompressedSize = _uncompressedSize, date = _date; @synthesize level = _level, CRC16 = _CRC16; @synthesize operatingSystemIdentifier = _operatingSystemIdentifier; @synthesize fileComment = _fileComment, mode = _mode, UID = _UID, GID = _GID; @synthesize owner = _owner, group = _group; @@ -284,11 +285,11 @@ self = [super init]; @try { uint32_t date; - _method = [[OFString alloc] + _compressionMethod = [[OFString alloc] initWithCString: header + 2 encoding: OF_STRING_ENCODING_ASCII length: 5]; memcpy(&_compressedSize, header + 7, 4); @@ -356,11 +357,11 @@ return self; } - (void)dealloc { - [_method release]; + [_compressionMethod release]; [_fileName release]; [_directoryName release]; [_date release]; [_fileComment release]; [_mode release]; @@ -396,11 +397,11 @@ stringByReplacingOccurrencesOfString: @"\n" withString: @"\n\t"]; OFString *ret = [OFString stringWithFormat: @"<%@:\n" @"\tFile name = %@\n" - @"\tMethod = %@\n" + @"\tCompression method = %@\n" @"\tCompressed size = %" @PRIu32 "\n" @"\tUncompressed size = %" @PRIu32 "\n" @"\tDate = %@\n" @"\tLevel = %u\n" @"\tCRC16 = %04" @PRIX16 @"\n" @@ -412,11 +413,11 @@ @"\tOwner = %@\n" @"\tGroup = %@\n" @"\tModification date = %@\n" @"\tExtensions: %@" @">", - [self class], [self fileName], _method, _compressedSize, + [self class], [self fileName], _compressionMethod, _compressedSize, _uncompressedSize, _date, _level, _CRC16, _operatingSystemIdentifier, _fileComment, mode, _UID, _GID, _owner, _group, _modificationDate, extensions]; [ret retain];