Overview
Comment: | of{http,zip}: Allow user database reading
This is required as they now use attributesOfItemAtPath:, which reads |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
904d0f429b8a6b0f10c64abc4672660c |
User & Date: | js on 2017-12-27 20:40:20 |
Other Links: | manifest | tags |
Context
2017-12-28
| ||
20:35 | OFURL: Fix #ifdefs in header check-in: 62cf5f9255 user: js tags: trunk | |
2017-12-27
| ||
20:40 | of{http,zip}: Allow user database reading check-in: 904d0f429b user: js tags: trunk | |
15:44 | Work around OpenBSD defining I via GNU extension check-in: c791f77d8c user: js tags: trunk | |
Changes
Modified utils/ofhttp/OFHTTP.m from [d6522c977d] to [de5b9ca60c].
︙ | ︙ | |||
382 383 384 385 386 387 388 389 390 391 392 393 394 395 | @try { [sandbox setAllowsStdIO: true]; [sandbox setAllowsReadingFiles: true]; [sandbox setAllowsWritingFiles: true]; [sandbox setAllowsCreatingFiles: true]; [sandbox setAllowsIPSockets: true]; [sandbox setAllowsDNS: true]; [sandbox setAllowsTTY: true]; [OFApplication activateSandbox: sandbox]; } @finally { [sandbox release]; } #endif | > | 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 | @try { [sandbox setAllowsStdIO: true]; [sandbox setAllowsReadingFiles: true]; [sandbox setAllowsWritingFiles: true]; [sandbox setAllowsCreatingFiles: true]; [sandbox setAllowsIPSockets: true]; [sandbox setAllowsDNS: true]; [sandbox setAllowsUserDatabaseReading: true]; [sandbox setAllowsTTY: true]; [OFApplication activateSandbox: sandbox]; } @finally { [sandbox release]; } #endif |
︙ | ︙ |
Modified utils/ofzip/OFZIP.m from [b7ac34eb59] to [21eb2e1748].
︙ | ︙ | |||
170 171 172 173 174 175 176 177 178 179 180 181 182 183 | OFSandbox *sandbox = [[OFSandbox alloc] init]; @try { [sandbox setAllowsStdIO: true]; [sandbox setAllowsReadingFiles: true]; [sandbox setAllowsWritingFiles: true]; [sandbox setAllowsCreatingFiles: true]; [sandbox setAllowsChangingFileAttributes: true]; [OFApplication activateSandbox: sandbox]; } @finally { [sandbox release]; } #endif | > | 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 |
︙ | ︙ |