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
9ab99483
Kaydet (Commit)
9ab99483
authored
Eyl 12, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CID#705982 ensure umask for mkstemp
Change-Id: I5c67346d09d04a2d1a781f8fee07c84004aac960
üst
5a0d01ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
vtablefactory.cxx
bridges/source/cpp_uno/shared/vtablefactory.cxx
+4
-0
No files found.
bridges/source/cpp_uno/shared/vtablefactory.cxx
Dosyayı görüntüle @
9ab99483
...
...
@@ -59,6 +59,8 @@
#if defined USE_DOUBLE_MMAP
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#endif
using
bridges
::
cpp_uno
::
shared
::
VtableFactory
;
...
...
@@ -239,6 +241,7 @@ bool VtableFactory::createBlock(Block &block, sal_Int32 slotCount) const
if
(
aSecurity
.
getHomeDir
(
strURLDirectory
))
osl
::
File
::
getSystemPathFromFileURL
(
strURLDirectory
,
strDirectory
);
mode_t
nOrigMode
=
umask
(
S_IRWXG
|
S_IRWXO
);
for
(
int
i
=
strDirectory
.
isEmpty
()
?
1
:
0
;
i
<
2
;
++
i
)
{
if
(
strDirectory
.
isEmpty
())
...
...
@@ -290,6 +293,7 @@ bool VtableFactory::createBlock(Block &block, sal_Int32 slotCount) const
strDirectory
=
OUString
();
}
umask
(
nOrigMode
);
if
(
!
block
.
start
||
!
block
.
exec
||
block
.
fd
==
-
1
)
{
//Fall back to non-doublemmaped allocation
...
...
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