Differences From Artifact [0c2531bfb6]:
- File src/platform/POSIX/OFString+PathAdditions.m — part of check-in [8939cbdb52] at 2023-01-06 09:04:02 on branch trunk — Update copyright (user: js, size: 7878) [annotate] [blame] [check-ins using] [more...]
To Artifact [a4865be3be]:
- File src/platform/POSIX/OFString+PathAdditions.m — part of check-in [930f967649] at 2023-10-08 11:36:31 on branch trunk — Fix -[@"" stringByAppendingPathComponent:] (user: js, size: 7922) [annotate] [blame] [check-ins using] [more...]
︙ | |||
296 297 298 299 300 301 302 303 304 305 306 307 308 309 | 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 | + + + | objc_autoreleasePoolPop(pool); return [ret autorelease]; } - (OFString *)stringByAppendingPathComponent: (OFString *)component { if (self.length == 0) return component; if ([self hasSuffix: @"/"]) return [self stringByAppendingString: component]; else { OFMutableString *ret = [[self mutableCopy] autorelease]; [ret appendString: @"/"]; [ret appendString: component]; |
︙ |