summaryrefslogtreecommitdiff
path: root/sal/CppunitTest_sal_rtl_locale.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-24 22:01:18 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-25 00:29:18 +0300
commitfa9ef668fb8b0abfdf85d641048580fa7c2fee3e (patch)
tree44ec2474ab4842628c4906ae20cf1e1397b73d30 /sal/CppunitTest_sal_rtl_locale.mk
parent2599bc9d6723daee921e3bf65124928bf56c8241 (diff)
More work on a sandboxed LibreOffice on OS X
In particular, surround also the ftruncate() operation that osl_setFileSize() does with access through a security scope bookmark for the file, if available. This fixes file saving in a sandboxed LibreOffice. (But oh boy, does simply saving an ODT document go though a weird dance of file operations.) Luckily the C++ oslFileHandle abstraction keeps the pathname that the file was opened with, so even if ftruncate() as such takes only the file descriptor, we can get at the pathname to retrieve our security scope bookmark. Change-Id: I8acb1b2f3fb3ec0cea833697b7f1d4a1912ed551
Diffstat (limited to 'sal/CppunitTest_sal_rtl_locale.mk')
0 files changed, 0 insertions, 0 deletions