Overview
Comment: | Throw an exception when trying to use chown on Windows. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
6cd75d48261c6b0457f075143d3d5800 |
User & Date: | js on 2009-12-23 22:38:34 |
Other Links: | manifest | tags |
Context
2009-12-23
| ||
22:38 | Some minor build improvements. check-in: 66f00a133d user: js tags: trunk | |
22:38 | Throw an exception when trying to use chown on Windows. check-in: 6cd75d4826 user: js tags: trunk | |
22:36 | Release local objects before releasing self in @catch. check-in: d80e2fb1bc user: js tags: trunk | |
Changes
Modified src/OFFile.m from [ea32f092c7] to [456747264b].
︙ | ︙ | |||
88 89 90 91 92 93 94 95 96 97 98 99 100 101 | { #ifndef _WIN32 if (chown([path cString], owner, group)) @throw [OFChangeFileOwnerFailedException newWithClass: self path: path owner: owner group: group]; #endif } + (void)rename: (OFString*)from to: (OFString*)to { #ifndef _WIN32 | > > > | 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 |
︙ | ︙ |