ObjFW  Check-in [4e34369cfa]

Overview
Comment:OFTarArchiveEntry: Make Apple GCC 4.0.1 happy
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4e34369cfad7fe4908e3e4f73d6ffdb8a4dc540a267fbb886192294387882a7c
User & Date: js on 2016-07-04 19:40:29
Other Links: manifest | tags
Context
2016-07-04
20:30
Implement -[symbolicLinkExistsAtPath:] for Windows check-in: 0b886dd56d user: js tags: trunk
19:40
OFTarArchiveEntry: Make Apple GCC 4.0.1 happy check-in: 4e34369cfa user: js tags: trunk
19:36
Remove check for objc_enumerationMutation check-in: 32d092b9ba user: js tags: trunk
Changes

Modified src/OFTarArchiveEntry.m from [bd41f6ca0a] to [1aa34ee0ac].

172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
		[_stream readIntoBuffer: buffer
			    exactLength: (size_t)_toRead];
		_toRead = 0;
	}

	if (_size % 512 != 0)
		[_stream readIntoBuffer: buffer
			    exactLength: 512 - (_size % 512)];
}

- (OFString*)description
{
	void *pool = objc_autoreleasePoolPush();
	OFString *ret = [OFString stringWithFormat: @"<%@: %p\n"
	     @"\tFile name = %@\n"







|







172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
		[_stream readIntoBuffer: buffer
			    exactLength: (size_t)_toRead];
		_toRead = 0;
	}

	if (_size % 512 != 0)
		[_stream readIntoBuffer: buffer
			    exactLength: 512 - ((size_t)_size % 512)];
}

- (OFString*)description
{
	void *pool = objc_autoreleasePoolPush();
	OFString *ret = [OFString stringWithFormat: @"<%@: %p\n"
	     @"\tFile name = %@\n"