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
fc480bca
Kaydet (Commit)
fc480bca
authored
Ock 29, 2013
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Strip SRCDIR from the logging output
Change-Id: I6069102f6b9df72a63a840758158f672fdd6c621
üst
a2b65182
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
Library_sal.mk
sal/Library_sal.mk
+1
-0
log.cxx
sal/osl/all/log.cxx
+6
-2
No files found.
sal/Library_sal.mk
Dosyayı görüntüle @
fc480bca
...
...
@@ -52,6 +52,7 @@ $(eval $(call gb_Library_add_defs,sal,\
-DSAL_DLLIMPLEMENTATION
\
-DRTL_OS
=
"
\"
$(RTL_OS)
"
\"
\
-DRTL_ARCH
=
"
\"
$(RTL_ARCH)
"
\"
\
-DSRCDIR
=
"
\"
$(SRCDIR)
\"
"
\
))
$(eval
$(call
gb_Library_use_libraries,sal,\
...
...
sal/osl/all/log.cxx
Dosyayı görüntüle @
fc480bca
...
...
@@ -217,8 +217,12 @@ void log(
s
<<
/*no where*/
' '
<<
message
<<
'\n'
;
}
else
{
s
<<
area
<<
':'
<<
OSL_DETAIL_GETPID
<<
':'
<<
osl
::
Thread
::
getCurrentIdentifier
()
<<
':'
<<
where
<<
message
<<
'\n'
;
<<
osl
::
Thread
::
getCurrentIdentifier
()
<<
':'
;
if
(
strncmp
(
where
,
SRCDIR
,
sizeof
(
SRCDIR
)
-
1
)
==
0
)
s
<<
where
+
sizeof
(
SRCDIR
);
else
s
<<
where
;
s
<<
message
<<
'\n'
;
}
#ifdef HAVE_SYSLOG_H
if
(
sal_use_syslog
)
...
...
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