Differences From Artifact [7dcc3acfc8]:
- File
src/OFFile.m
— part of check-in
[06c0c98e78]
at
2013-01-13 01:24:59
on branch trunk
— OFFile: Make use of _wchmod on Windows.
Actually, this seems to do exactly what was done manually with
{Get,Set}FileAttributesW before. (user: js, size: 18048) [annotate] [blame] [check-ins using]
To Artifact [981d954d73]:
- File src/OFFile.m — part of check-in [ea4a43461c] at 2013-01-23 21:52:54 on branch trunk — Never compare to @"", use length instead. (user: js, size: 18045) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
287 288 289 290 291 292 293 | if (currentPath != nil) currentPath = [OFString stringWithPath: currentPath, component, nil]; else currentPath = component; | | | 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 | if (currentPath != nil) currentPath = [OFString stringWithPath: currentPath, component, nil]; else currentPath = component; if ([currentPath length] > 0 && ![OFFile directoryExistsAtPath: currentPath]) [OFFile createDirectoryAtPath: currentPath]; [currentPath retain]; objc_autoreleasePoolPop(pool2); |
︙ | ︙ |