ObjFW  Check-in [6e61a3dc0e]

Overview
Comment:OFZIP: Fix type mismatch.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6e61a3dc0e342ae888156f9abadb3a0ffb5f76627c58e87be15a30810c507951
User & Date: js on 2013-11-23 02:07:15
Other Links: manifest | tags
Context
2013-11-23
03:02
of_asprintf: Don't accept length modifiers for %@. check-in: 0232e0c975 user: js tags: trunk
02:07
OFZIP: Fix type mismatch. check-in: 6e61a3dc0e user: js tags: trunk
01:38
Add OF_ROOT_CLASS. check-in: 48df0f966f user: js tags: trunk
Changes

Modified utils/OFZIP.m from [1ea5d0a9d3] to [7a27c4516e].

145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
		void *pool = objc_autoreleasePoolPush();

		if (verbose) {
			OFString *date = [[entry modificationDate]
			    localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"];

			[of_stdout writeFormat:
			    @"%@: %ju (%ju) bytes; %08X; %@; %@\n",
			    [entry fileName], [entry uncompressedSize],
			    [entry compressedSize], [entry CRC32], date,
			    [entry fileComment]];
		} else
			[of_stdout writeLine: [entry fileName]];

		objc_autoreleasePoolPop(pool);
	}







|
|







145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
		void *pool = objc_autoreleasePoolPush();

		if (verbose) {
			OFString *date = [[entry modificationDate]
			    localDateStringWithFormat: @"%Y-%m-%d %H:%M:%S"];

			[of_stdout writeFormat:
			    @"%@: %" PRIu64 @" (%" PRIu64 @") bytes; %08X; %@; "
			    @"%@\n", [entry fileName], [entry uncompressedSize],
			    [entry compressedSize], [entry CRC32], date,
			    [entry fileComment]];
		} else
			[of_stdout writeLine: [entry fileName]];

		objc_autoreleasePoolPop(pool);
	}