Overview
Comment: | OFMutableIRI: Fix -[appendPathComponent:] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
1970fcd56448e871b10ab5ed8777f583 |
User & Date: | js on 2024-03-17 16:14:34 |
Other Links: | manifest | tags |
Context
2024-03-17
| ||
16:20 | OFFileManagerTests: Skip symlink test on Wine check-in: fb5e45775f user: js tags: trunk | |
16:14 | OFMutableIRI: Fix -[appendPathComponent:] check-in: 1970fcd564 user: js tags: trunk | |
15:57 | OFSystemInfo: Add +[wineVersion] check-in: f050580b33 user: js tags: trunk | |
Changes
Modified src/OFMutableIRI.m from [a9164c7ec2] to [b4a095ba9a].
︙ | ︙ | |||
320 321 322 323 324 325 326 | [copy makeImmutable]; return copy; } - (void)appendPathComponent: (OFString *)component { | | > | | | > > | < > | 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 | [copy makeImmutable]; return copy; } - (void)appendPathComponent: (OFString *)component { [self appendPathComponent: component isDirectory: false]; #ifdef OF_HAVE_FILES if ([_scheme isEqual: @"file"] && ![_percentEncodedPath hasSuffix: @"/"] && [[OFFileManager defaultManager] directoryExistsAtIRI: self]) { OFString *path = [[_percentEncodedPath stringByAppendingString: @"/"] retain]; [_percentEncodedPath release]; _percentEncodedPath = path; } #endif } - (void)appendPathComponent: (OFString *)component isDirectory: (bool)isDirectory { void *pool; OFString *path; |
︙ | ︙ |