ObjFW  Check-in [f026fdfacf]

Overview
Comment:OFZIP: Explain override options.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f026fdfacfb6c3e0b36905060b8313aa215b2b0efd2c8bfedc75c0725451eea7
User & Date: js on 2013-11-20 20:47:49
Other Links: manifest | tags
Context
2013-11-20
22:06
Make exception properties atomic. check-in: 85e8ccc3a5 user: js tags: trunk
20:47
OFZIP: Explain override options. check-in: f026fdfacf user: js tags: trunk
20:20
.gitignore: Add versioned .so files. check-in: 5a0b8a0cb1 user: js tags: trunk
Changes

Modified utils/OFZIP.m from [c3038e7255] to [0b404e4622].

227
228
229
230
231
232
233
234

235
236






237
238
239
240
241
242
243
227
228
229
230
231
232
233

234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249







-
+


+
+
+
+
+
+







			if (override == -1) {
				[of_stdout writeLine: @" skipped"];
				continue;
			}

			do {
				[of_stderr writeFormat:
				    @"\rOverride %@? [ynAN] ", fileName];
				    @"\rOverride %@? [ynAN?] ", fileName];

				line = [of_stdin readLine];

				if ([line isEqual: @"?"])
					[of_stderr writeString: @" y: yes\n"
								@" n: no\n"
								@" A: always\n"
								@" N: never\n"];
			} while (![line isEqual: @"y"] &&
			    ![line isEqual: @"n"] && ![line isEqual: @"N"] &&
			    ![line isEqual: @"A"]);

			if ([line isEqual: @"A"])
				override = 1;
			else if ([line isEqual: @"N"])