Differences From Artifact [4b4f8f0aeb]:
- File
src/OFFileManager.m
— part of check-in
[4ebeb7e3a2]
at
2017-06-03 12:46:40
on branch trunk
— Make of_(l)stat() private to OFFileManager
Everything else should just use OFFileManager. (user: js, size: 25470) [annotate] [blame] [check-ins using]
To Artifact [ce2f7bd650]:
- File src/OFFileManager.m — part of check-in [4175b93242] at 2017-06-03 14:37:19 on branch trunk — OFFileManager: Mask modes to ensure safe modes (user: js, size: 25192) [annotate] [blame] [check-ins using]
︙ | |||
67 68 69 70 71 72 73 | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | - - - - - - - - - - - - - - - - | #ifdef OF_WINDOWS # include <windows.h> # include <direct.h> # include <ntdef.h> #endif |
︙ | |||
275 276 277 278 279 280 281 | 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 | - + | - (void)createDirectoryAtPath: (OFString *)path { if (path == nil) @throw [OFInvalidArgumentException exception]; #ifndef OF_WINDOWS if (mkdir([path cStringWithEncoding: [OFLocalization encoding]], |
︙ | |||
513 514 515 516 517 518 519 | 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 | - + - + - + + + | errNo: errno]; /* FIXME: We could be more precise on some OSes */ return [OFDate dateWithTimeIntervalSince1970: s.st_ctime]; } #ifdef OF_HAVE_CHMOD |
︙ |