summaryrefslogtreecommitdiff
path: root/swext
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-03-23 18:11:11 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-03-24 13:52:30 +0100
commit9906c6d2a55b6f8a27903f0ef08aa8949d7a71c2 (patch)
treef4e2ab13bf2d447bf4331e4a2e8022c038e536b9 /swext
parent7422687028d33a9a4029aeb9265bc59578f5aef9 (diff)
rhbz#1559633: Treat EPERM same as EACCES when opening files
For example, Linux open(2) with O_RDWR fails with EPERM if the file is flagged as FS_IMMUTABLE_FL. (And there is an #ifdef IOS "Horrible hack" block in openFilePath in sal/osl/unx/file.cxx that is apparently a workaround for a similar scenario where open returns EPERM instead of EACCES on iOS, and which can probably be removed again after this commit.) Change-Id: I00cbd28d4b83b223920776998e9245b6261bb748 Reviewed-on: https://gerrit.libreoffice.org/51788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'swext')
0 files changed, 0 insertions, 0 deletions