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
19650d0e
Kaydet (Commit)
19650d0e
authored
Ara 13, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix windows build after OSL_TRACE->SAL changes
Change-Id: I345343f84f66299e8b91b31af0290ed0c622bf8d
üst
3a705ab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
profile.cxx
sal/osl/w32/profile.cxx
+3
-3
No files found.
sal/osl/w32/profile.cxx
Dosyayı görüntüle @
19650d0e
...
@@ -354,7 +354,7 @@ static bool writeProfileImpl(osl_TFile* pFile)
...
@@ -354,7 +354,7 @@ static bool writeProfileImpl(osl_TFile* pFile)
if
(
bRet
==
0
||
BytesWritten
==
0
)
if
(
bRet
==
0
||
BytesWritten
==
0
)
{
{
OSL_ENSURE
(
bRet
,
"WriteFile failed!!!"
);
OSL_ENSURE
(
bRet
,
"WriteFile failed!!!"
);
SAL_
INFO
(
"sal"
,
"write failed '%s'"
,
strerror
(
errno
));
SAL_
WARN
(
"sal"
,
"write failed "
<<
strerror
(
errno
));
return
false
;
return
false
;
}
}
...
@@ -1031,7 +1031,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
...
@@ -1031,7 +1031,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
else
else
{
{
#ifdef DEBUG_OSL_PROFILE
#ifdef DEBUG_OSL_PROFILE
SAL_INFO
(
"sal"
,
"opening
'%s' read/write"
,
pszFilename
);
SAL_INFO
(
"sal"
,
"opening
read/write "
<<
pszFilename
);
#endif
#endif
if
((
pFile
->
m_Handle
=
CreateFileW
(
reinterpret_cast
<
LPCWSTR
>
(
rtl_uString_getStr
(
strFileName
)),
GENERIC_READ
|
GENERIC_WRITE
,
if
((
pFile
->
m_Handle
=
CreateFileW
(
reinterpret_cast
<
LPCWSTR
>
(
rtl_uString_getStr
(
strFileName
)),
GENERIC_READ
|
GENERIC_WRITE
,
...
@@ -1051,7 +1051,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
...
@@ -1051,7 +1051,7 @@ static osl_TFile* openFileImpl(rtl_uString * strFileName, oslProfileOption Profi
if
(
ProfileFlags
&
(
osl_Profile_WRITELOCK
|
osl_Profile_READLOCK
)
)
if
(
ProfileFlags
&
(
osl_Profile_WRITELOCK
|
osl_Profile_READLOCK
)
)
{
{
#ifdef DEBUG_OSL_PROFILE
#ifdef DEBUG_OSL_PROFILE
SAL_INFO
(
"sal"
,
"locking
'%s' file"
,
pszFilename
);
SAL_INFO
(
"sal"
,
"locking
file "
<<
pszFilename
);
#endif
#endif
lockFile
(
pFile
,
bWriteable
?
write_lock
:
read_lock
);
lockFile
(
pFile
,
bWriteable
?
write_lock
:
read_lock
);
...
...
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