ObjFW  Check-in [233e1b4284]

Overview
Comment:ofzip: Fix compilation with GCC
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 233e1b42848a704804c3b4c9e5276207c47b211945aede3bde6b61e1d81441d0
User & Date: js on 2017-08-11 22:38:21
Other Links: manifest | tags
Context
2017-08-12
14:23
-[OFStream write{Data,String}:]: Check for nil check-in: 73b242894c user: js tags: trunk
2017-08-11
22:38
ofzip: Fix compilation with GCC check-in: 233e1b4284 user: js tags: trunk
22:26
Always have retain / copy before nonatomic check-in: 9db36c14b5 user: js tags: trunk
Changes

Modified utils/ofzip/OFZIP.m from [3ce56a9b94] to [5c7f256715].

470
471
472
473
474
475
476

477
478
479
480
481
482
483
	return archive;

error:
	if (mode == 'c')
		[[OFFileManager defaultManager] removeItemAtPath: path];

	[OFApplication terminateWithStatus: 1];

}

- (bool)shouldExtractFile: (OFString *)fileName
	      outFileName: (OFString *)outFileName
{
	OFString *line;








>







470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
	return archive;

error:
	if (mode == 'c')
		[[OFFileManager defaultManager] removeItemAtPath: path];

	[OFApplication terminateWithStatus: 1];
	return nil;
}

- (bool)shouldExtractFile: (OFString *)fileName
	      outFileName: (OFString *)outFileName
{
	OFString *line;