summaryrefslogtreecommitdiffstats
path: root/sal/rtl/unload.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-10-11 15:32:26 +0300
committerTor Lillqvist <tml@collabora.com>2018-10-11 17:06:15 +0300
commit5f438ebe0824f04d08ddf2b39d7f5e02325f2ce3 (patch)
tree75492e3a2ddf5b897a68f7c84386b10b4b1b6882 /sal/rtl/unload.cxx
parentMake editeng_core test depend on more_fonts (diff)
downloadcore-5f438ebe0824f04d08ddf2b39d7f5e02325f2ce3.tar.gz
core-5f438ebe0824f04d08ddf2b39d7f5e02325f2ce3.zip
Tweak check for nonexistent file on iOS
Calling stat() on a non-existent file outside the sandbox fails with EPERM on iOS, not ENOENT. (Presumably calling stat() even on an existing file, but one you don't have been granted access to, also fails, because that is after all a point of sandboxing, you shouldn't even be allowed to figure out whether arbitrary files exist outside the sandbox.) Not sure why this change hasn't been necessary also for a sandboxed LibreOffice on macOS. Change-Id: I67c768e9c34fd17fa35f08232284210ff4a71b98
Diffstat (limited to 'sal/rtl/unload.cxx')
0 files changed, 0 insertions, 0 deletions