@@ -26,11 +26,11 @@ #import "OFDate.h" #import "OFOutOfRangeException.h" #import "OFReadFailedException.h" -static OFString* +static OFString * stringFromBuffer(const char *buffer, size_t length) { for (size_t i = 0; i < length; i++) if (buffer[i] == '\0') length = i; @@ -56,11 +56,11 @@ @synthesize targetFileName = _targetFileName; @synthesize owner = _owner, group = _group; @synthesize deviceMajor = _deviceMajor, deviceMinor = _deviceMinor; - (instancetype)OF_initWithHeader: (char[512])header - stream: (OFStream*)stream + stream: (OFStream *)stream { self = [super init]; @try { void *pool = objc_autoreleasePoolPush(); @@ -118,11 +118,11 @@ [_group release]; [super dealloc]; } -- (size_t)lowlevelReadIntoBuffer: (void*)buffer +- (size_t)lowlevelReadIntoBuffer: (void *)buffer length: (size_t)length { size_t ret; if (_atEndOfStream) @@ -179,11 +179,11 @@ if (_size % 512 != 0) [_stream readIntoBuffer: buffer exactLength: 512 - ((size_t)_size % 512)]; } -- (OFString*)description +- (OFString *)description { void *pool = objc_autoreleasePoolPush(); OFString *ret = [OFString stringWithFormat: @"<%@:\n" @"\tFile name = %@\n" @"\tMode = %06o\n"