Overview
Comment: | Fix compilation with --disable-unicode-tables |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
efedce10f753f0f7beb2ba5c3c7d0bc5 |
User & Date: | js on 2018-11-24 13:02:53 |
Other Links: | manifest | tags |
Context
2018-11-26
| ||
22:04 | OFInvocation: Fix void return check-in: 7c1614461e user: js tags: trunk | |
2018-11-24
| ||
13:02 | Fix compilation with --disable-unicode-tables check-in: efedce10f7 user: js tags: trunk | |
2018-11-17
| ||
23:13 | OFDNSResolver: Make sure queries live long enough check-in: d062db6708 user: js tags: trunk | |
Changes
Modified src/OFString.m from [049410036d] to [ec2660fdd7].
︙ | ︙ | |||
330 331 332 333 334 335 336 337 338 339 340 341 342 343 | while (*string++ != 0) length++; return length; } static OFString * decomposedString(OFString *self, const char *const *const *table, size_t size) { OFMutableString *ret = [OFMutableString string]; void *pool = objc_autoreleasePoolPush(); const of_unichar_t *characters = [self characters]; size_t length = [self length]; | > | 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 | while (*string++ != 0) length++; return length; } #ifdef OF_HAVE_UNICODE_TABLES static OFString * decomposedString(OFString *self, const char *const *const *table, size_t size) { OFMutableString *ret = [OFMutableString string]; void *pool = objc_autoreleasePoolPush(); const of_unichar_t *characters = [self characters]; size_t length = [self length]; |
︙ | ︙ | |||
360 361 362 363 364 365 366 367 368 369 370 371 372 373 | length: 1]; } objc_autoreleasePoolPop(pool); return ret; } @implementation OFString_placeholder - (instancetype)init { return (id)[[OFString_UTF8 alloc] init]; } | > | 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 | length: 1]; } objc_autoreleasePoolPop(pool); return ret; } #endif @implementation OFString_placeholder - (instancetype)init { return (id)[[OFString_UTF8 alloc] init]; } |
︙ | ︙ |