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
22501619
Kaydet (Commit)
22501619
authored
Eyl 14, 2012
tarafından
Tor Lillqvist
Kaydeden (comit)
Tor Lillqvist
Eyl 14, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Adapt for DISABLE_DYNLOADING possibility on Android
Change-Id: I7fcea698c3d89c5b84b38a708502bcdf4526a614
üst
0fb18d82
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
module.cxx
sal/osl/unx/module.cxx
+2
-2
process_impl.cxx
sal/osl/unx/process_impl.cxx
+1
-1
No files found.
sal/osl/unx/module.cxx
Dosyayı görüntüle @
22501619
...
@@ -96,7 +96,7 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) {
...
@@ -96,7 +96,7 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) {
#else
#else
Dl_info
dl_info
;
Dl_info
dl_info
;
#if
def ANDROID
#if
defined(ANDROID) && !defined(DISABLE_DYNLOADING)
result
=
lo_dladdr
(
address
,
&
dl_info
);
result
=
lo_dladdr
(
address
,
&
dl_info
);
#else
#else
result
=
dladdr
(
address
,
&
dl_info
);
result
=
dladdr
(
address
,
&
dl_info
);
...
@@ -105,7 +105,7 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) {
...
@@ -105,7 +105,7 @@ static sal_Bool getModulePathFromAddress(void * address, rtl_String ** path) {
if
(
result
!=
0
)
if
(
result
!=
0
)
{
{
rtl_string_newFromStr
(
path
,
dl_info
.
dli_fname
);
rtl_string_newFromStr
(
path
,
dl_info
.
dli_fname
);
#if
def ANDROID
#if
defined(ANDROID) && !defined(DISABLE_DYNLOADING)
free
((
void
*
)
dl_info
.
dli_fname
);
free
((
void
*
)
dl_info
.
dli_fname
);
#endif
#endif
result
=
sal_True
;
result
=
sal_True
;
...
...
sal/osl/unx/process_impl.cxx
Dosyayı görüntüle @
22501619
...
@@ -113,7 +113,7 @@ oslProcessError SAL_CALL osl_bootstrap_getExecutableFile_Impl (
...
@@ -113,7 +113,7 @@ oslProcessError SAL_CALL osl_bootstrap_getExecutableFile_Impl (
{
{
oslProcessError
result
=
osl_Process_E_NotFound
;
oslProcessError
result
=
osl_Process_E_NotFound
;
#if
def ANDROID
#if
defined(ANDROID) && !defined(DISABLE_DYNLOADING)
/* On Android we in theory want the address of the "lo_main()"
/* On Android we in theory want the address of the "lo_main()"
* function, as that is what corresponds to "main()" in
* function, as that is what corresponds to "main()" in
* LibreOffice programs on normal desktop OSes.
* LibreOffice programs on normal desktop OSes.
...
...
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