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
795aa222
Kaydet (Commit)
795aa222
authored
Haz 19, 2012
tarafından
Yuri Dario
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i118923 - OS/2 port: fix change of local LIBPATH.
üst
3d5352e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
launcher.cxx
desktop/os2/source/applauncher/launcher.cxx
+9
-1
No files found.
desktop/os2/source/applauncher/launcher.cxx
Dosyayı görüntüle @
795aa222
...
@@ -54,10 +54,14 @@ int main( int argc, char* argv[])
...
@@ -54,10 +54,14 @@ int main( int argc, char* argv[])
DosQueryModuleName
(
pib
->
pib_hmte
,
sizeof
(
szApplicationName
),
szApplicationName
);
DosQueryModuleName
(
pib
->
pib_hmte
,
sizeof
(
szApplicationName
),
szApplicationName
);
// adjust libpath
// adjust libpath
#if OSL_DEBUG_LEVEL > 0
rc
=
DosQueryExtLIBPATH
(
(
PSZ
)
szLibpath
,
BEGIN_LIBPATH
);
fprintf
(
stderr
,
"1 BeginLibPath: %s
\n
"
,
szLibpath
);
#endif
_splitpath
(
szApplicationName
,
szDrive
,
szDir
,
szFileName
,
szExt
);
_splitpath
(
szApplicationName
,
szDrive
,
szDir
,
szFileName
,
szExt
);
char
*
basedir
=
strstr
(
szDir
,
"
\\
PROGRAM
\\
"
);
char
*
basedir
=
strstr
(
szDir
,
"
\\
PROGRAM
\\
"
);
if
(
basedir
)
*
basedir
=
0
;
if
(
basedir
)
*
basedir
=
0
;
sprintf
(
szLibpath
,
"
\"
%s%s
\\
URE
\\
BIN
\"
;
\"
%s%s
\\
BASIS
\\
PROGRAM
\"
;%
BeginLIBPATH%
"
,
sprintf
(
szLibpath
,
"
\"
%s%s
\\
URE
\\
BIN
\"
;
\"
%s%s
\\
BASIS
\\
PROGRAM
\"
;%
%BeginLIBPATH%%;
"
,
szDrive
,
szDir
,
szDrive
,
szDir
);
szDrive
,
szDir
,
szDrive
,
szDir
);
DosSetExtLIBPATH
(
(
PCSZ
)
szLibpath
,
BEGIN_LIBPATH
);
DosSetExtLIBPATH
(
(
PCSZ
)
szLibpath
,
BEGIN_LIBPATH
);
// make sure we load DLL from our path only, so multiple instances/versions
// make sure we load DLL from our path only, so multiple instances/versions
...
@@ -67,6 +71,10 @@ int main( int argc, char* argv[])
...
@@ -67,6 +71,10 @@ int main( int argc, char* argv[])
// java cannot load with this flag enabled
// java cannot load with this flag enabled
DosSetExtLIBPATH( (PCSZ)"T", LIBPATHSTRICT);
DosSetExtLIBPATH( (PCSZ)"T", LIBPATHSTRICT);
#endif
#endif
#if OSL_DEBUG_LEVEL > 0
rc
=
DosQueryExtLIBPATH
(
(
PSZ
)
szLibpath
,
BEGIN_LIBPATH
);
fprintf
(
stderr
,
"2 BeginLibPath: %s
\n
"
,
szLibpath
);
#endif
// adjust exe name
// adjust exe name
_splitpath
(
szApplicationName
,
szDrive
,
szDir
,
szFileName
,
szExt
);
_splitpath
(
szApplicationName
,
szDrive
,
szDir
,
szFileName
,
szExt
);
...
...
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