Differences From Artifact [ea32f092c7]:
- File src/OFFile.m — part of check-in [fc0b2500b9] at 2009-12-03 18:50:41 on branch trunk — Make OFStream caching invisible to the programmer. (user: js, size: 4989) [annotate] [blame] [check-ins using]
To Artifact [456747264b]:
- File src/OFFile.m — part of check-in [6cd75d4826] at 2009-12-23 22:38:34 on branch trunk — Throw an exception when trying to use chown on Windows. (user: js, size: 5077) [annotate] [blame] [check-ins using] [more...]
︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 | + + + | { #ifndef _WIN32 if (chown([path cString], owner, group)) @throw [OFChangeFileOwnerFailedException newWithClass: self path: path owner: owner group: group]; #else @throw [OFNotImplementedException newWithClass: self selector: _cmd]; #endif } + (void)rename: (OFString*)from to: (OFString*)to { #ifndef _WIN32 |
︙ |