Differences From Artifact [4b255af215]:
- File
src/OFFile.m
— part of check-in
[2713b481a1]
at
2013-04-27 02:22:43
on branch trunk
— Initial Wii port.
Threads and sockets still missing. (user: js, size: 16668) [annotate] [blame] [check-ins using]
To Artifact [c7437b1fa1]:
- File
src/OFFile.m
— part of check-in
[06443a3ae9]
at
2013-04-27 21:51:19
on branch trunk
— OFFile: Don't use fchmod().
It's not available on all systems which have chmod(). (user: js, size: 16694) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
531 532 533 534 535 536 537 | } #ifdef OF_HAVE_CHMOD if (!override) { struct stat s; if (fstat(sourceFile->_fd, &s) == 0) | > | | 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 | } #ifdef OF_HAVE_CHMOD if (!override) { struct stat s; if (fstat(sourceFile->_fd, &s) == 0) [self changeModeOfFileAtPath: destination mode: s.st_mode]; } #else (void)override; #endif } @finally { [sourceFile close]; [destinationFile close]; |
︙ | ︙ |