ObjFW  Check-in [64c64c56c1]

Overview
Comment:ofzip: Optimize printing a file from a tar file
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 64c64c56c1e202b152d1f0b3516be53e27a5b91c8eb0d429596cdb4c81433709
User & Date: js on 2017-04-09 12:26:05
Other Links: manifest | tags
Context
2017-04-09
18:22
Add OFSandbox check-in: 40cf53506a user: js tags: trunk
12:26
ofzip: Optimize printing a file from a tar file check-in: 64c64c56c1 user: js tags: trunk
12:12
Use uint{16,32}_t for of_char{16,32}_t check-in: af56e971bd user: js tags: trunk
Changes

Modified utils/ofzip/TarArchive.m from [ca3dadb950] to [de5d10a91b].

412
413
414
415
416
417
418



419
420
421
422
423
424
425
426
427
428
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431







+
+
+










				app->_exitStatus = 1;
				return;
			}
		}

		[files removeObject: fileName];
		[entry close];

		if ([files count] == 0)
			break;
	}

	for (OFString *file in files) {
		[of_stderr writeLine: OF_LOCALIZED(@"file_not_in_archive",
		    @"File %[file] is not in the archive!",
		    @"file", file)];
		app->_exitStatus = 1;
	}
}
@end