Differences From Artifact [b7ac34eb59]:
- File utils/ofzip/OFZIP.m — part of check-in [31e602a476] at 2017-11-13 01:18:34 on branch trunk — Add OFURLHandler (user: js, size: 16107) [annotate] [blame] [check-ins using]
To Artifact [21eb2e1748]:
- File
utils/ofzip/OFZIP.m
— part of check-in
[904d0f429b]
at
2017-12-27 20:40:20
on branch trunk
— of{http,zip}: Allow user database reading
This is required as they now use attributesOfItemAtPath:, which reads
the user database. (user: js, size: 16155) [annotate] [blame] [check-ins using]
| ︙ | |||
170 171 172 173 174 175 176 177 178 179 180 181 182 183 | 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | + |
OFSandbox *sandbox = [[OFSandbox alloc] init];
@try {
[sandbox setAllowsStdIO: true];
[sandbox setAllowsReadingFiles: true];
[sandbox setAllowsWritingFiles: true];
[sandbox setAllowsCreatingFiles: true];
[sandbox setAllowsChangingFileAttributes: true];
[sandbox setAllowsUserDatabaseReading: true];
[OFApplication activateSandbox: sandbox];
} @finally {
[sandbox release];
}
#endif
|
| ︙ |