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
2fcba16d
Kaydet (Commit)
2fcba16d
authored
Ock 18, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Never pass -env: arguments across OfficeIPC connection
Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
üst
36e8d5d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
start.c
desktop/unx/source/start.c
+3
-2
officeloader.cxx
desktop/win32/source/officeloader/officeloader.cxx
+7
-1
No files found.
desktop/unx/source/start.c
Dosyayı görüntüle @
2fcba16d
...
...
@@ -45,6 +45,7 @@
#include <osl/thread.h>
#include <rtl/bootstrap.h>
#include <rtl/digest.h>
#include <rtl/process.h>
#include <rtl/ustrbuf.h>
#include <sal/main.h>
...
...
@@ -454,7 +455,7 @@ send_args( int fd, rtl_uString *pCwdPath )
size_t
nLen
;
rtl_uString
*
pEscapedCwdPath
=
escape_path
(
pCwdPath
);
sal_uInt32
nArg
=
0
;
sal_uInt32
nArgCount
=
osl_get
CommandArgCount
();
sal_uInt32
nArgCount
=
rtl_getApp
CommandArgCount
();
rtl_uString_new_WithLength
(
&
pBuffer
,
nCapacity
);
rtl_uString_new
(
&
pTmp
);
...
...
@@ -487,7 +488,7 @@ send_args( int fd, rtl_uString *pCwdPath )
rtl_uString_getLength
(
pBuffer
),
","
,
1
);
osl_get
CommandArg
(
nArg
,
&
pTmp
);
rtl_getApp
CommandArg
(
nArg
,
&
pTmp
);
pEscapedTmp
=
escape_path
(
pTmp
);
...
...
desktop/win32/source/officeloader/officeloader.cxx
Dosyayı görüntüle @
2fcba16d
...
...
@@ -21,6 +21,7 @@
#define _UNICODE
#include <cstddef>
#include <cwchar>
#define WIN32_LEAN_AND_MEAN
#if defined _MSC_VER
...
...
@@ -290,7 +291,12 @@ int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
}
for
(
int
argn
=
1
;
fSuccess
&&
argn
<
argc2
;
argn
++
)
{
fSuccess
=
writeArgument
(
hPipe
,
','
,
argv2
[
argn
]);
if
(
std
::
wcsncmp
(
argv2
[
argn
],
L"-env:"
,
std
::
wcslen
(
L"-env:"
))
!=
0
)
{
fSuccess
=
writeArgument
(
hPipe
,
','
,
argv2
[
argn
]);
}
}
if
(
fSuccess
)
...
...
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