ObjFW  Diff

Differences From Artifact [88cae8bac8]:

  • File utils/OFZIP.m — part of check-in [5eada9f7b0] at 2013-11-23 03:24:43 on branch trunk — of_asprintf: Change %C to %k.

    In Cocoa, %C means unichar, which is unsigned short and thus compilers
    expect %C to be unichar when the language is set to ObjC. It would be
    hard to let compilers detect whether %C should be unichar or
    of_unichar_t, especially when mixing ObjFW and Cocoa code, thus the
    change to %k. (user: js, size: 7634) [annotate] [blame] [check-ins using]

To Artifact [7a27c4516e]:


90
91
92
93
94
95
96
97

98
99
100
101
102
103
104
90
91
92
93
94
95
96

97
98
99
100
101
102
103
104







-
+








			mode = option;
			break;
		case 'h':
			help(of_stdout, true, 0);
			break;
		default:
			[of_stderr writeFormat: @"%@: Unknown option: -%k\n",
			[of_stderr writeFormat: @"%@: Unknown option: -%C\n",
						[OFApplication programName],
						[optionsParser lastOption]];
			[OFApplication terminateWithStatus: 1];
		}
	}

	remainingArguments = [optionsParser remainingArguments];