diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-08-24 16:07:22 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-08-25 00:29:17 +0300 |
commit | fcdfc62f760b7e33025973a460f90023b59bad8f (patch) | |
tree | 1beb55664e00e5e29fe4a174ff92d560acfa38b1 /sal/osl/unx/file_stat.cxx | |
parent | f8ed55b38c41a4fba3bbafaf03a39cf4718259e0 (diff) |
Do more syscalls using a security scope bookmark on OS X when sandboxed
Move the handling of the bookmarks to the wrappers in uunxapi.cxx, and
add wrappers for open() and utime().
Change-Id: I92f9941152b567545eea60f2aaae6a3b8d35e792
Diffstat (limited to 'sal/osl/unx/file_stat.cxx')
-rw-r--r-- | sal/osl/unx/file_stat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sal/osl/unx/file_stat.cxx b/sal/osl/unx/file_stat.cxx index 85331ba164f0..5d6bd109482d 100644 --- a/sal/osl/unx/file_stat.cxx +++ b/sal/osl/unx/file_stat.cxx @@ -327,7 +327,7 @@ static oslFileError osl_psz_setFileTime ( struct tm* pTM=0; #endif - nRet = lstat(pszFilePath,&aFileStat); + nRet = lstat_c(pszFilePath,&aFileStat); if ( nRet < 0 ) { @@ -385,7 +385,7 @@ static oslFileError osl_psz_setFileTime ( fprintf(stderr,"Modification now '%s'\n",ctime(&aTimeBuffer.modtime)); #endif - nRet=utime(pszFilePath,&aTimeBuffer); + nRet = utime_c(pszFilePath,&aTimeBuffer); if ( nRet < 0 ) { nRet=errno; |