Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
7f4d2380
Kaydet (Commit)
7f4d2380
authored
Tem 30, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Be a bit more lax when resolving bookmarks when sandboxed
Change-Id: I6ada3e660ee58f7937425eea40a4bbd82754f4b1
üst
feb6e709
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
system.c
sal/osl/unx/system.c
+14
-0
No files found.
sal/osl/unx/system.c
Dosyayı görüntüle @
7f4d2380
...
@@ -17,6 +17,8 @@
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
*/
#include <config_features.h>
#include "system.h"
#include "system.h"
#ifdef NO_PTHREAD_RTL
#ifdef NO_PTHREAD_RTL
...
@@ -140,7 +142,19 @@ struct hostent *gethostbyname_r(const char *name, struct hostent *result,
...
@@ -140,7 +142,19 @@ struct hostent *gethostbyname_r(const char *name, struct hostent *result,
*/
*/
int
macxp_resolveAlias
(
char
*
path
,
int
buflen
)
int
macxp_resolveAlias
(
char
*
path
,
int
buflen
)
{
{
#if HAVE_FEATURE_MACOSX_SANDBOX
/* Avoid unnecessary messages in the system.log:
*
* kernel[0]: Sandbox: soffice(57342) deny file-read-data /Users
* kernel[0]: Sandbox: soffice(57342) deny file-read-data /Users/tml
*
* etc. It is quite unlikely anyway, I hope, that anything except
* the last component of a path name would be a bookmark.
*/
char
*
unprocessedPath
=
path
+
strlen
(
path
)
-
1
;
#else
char
*
unprocessedPath
=
path
;
char
*
unprocessedPath
=
path
;
#endif
if
(
*
unprocessedPath
==
'/'
)
if
(
*
unprocessedPath
==
'/'
)
unprocessedPath
++
;
unprocessedPath
++
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment