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
0b35dcb5
Kaydet (Commit)
0b35dcb5
authored
May 24, 2016
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add the file extension for minidumps on windows
Change-Id: Ib5692ef839c500cac7d2551d0b0ee6faf141132a
üst
7b990ae1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sofficemain.cxx
desktop/source/app/sofficemain.cxx
+1
-1
No files found.
desktop/source/app/sofficemain.cxx
Dosyayı görüntüle @
0b35dcb5
...
@@ -89,7 +89,7 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id,
...
@@ -89,7 +89,7 @@ static bool dumpCallback(const wchar_t* path, const wchar_t* id,
std
::
ofstream
minidump_file
(
ini_path
,
std
::
ios_base
::
app
);
std
::
ofstream
minidump_file
(
ini_path
,
std
::
ios_base
::
app
);
// TODO: moggi: can we avoid this conversion
// TODO: moggi: can we avoid this conversion
std
::
wstring_convert
<
std
::
codecvt_utf8
<
wchar_t
>>
conv1
;
std
::
wstring_convert
<
std
::
codecvt_utf8
<
wchar_t
>>
conv1
;
std
::
string
aPath
=
conv1
.
to_bytes
(
std
::
wstring
(
path
))
+
conv1
.
to_bytes
(
std
::
wstring
(
id
));
std
::
string
aPath
=
conv1
.
to_bytes
(
std
::
wstring
(
path
))
+
conv1
.
to_bytes
(
std
::
wstring
(
id
))
+
".dmp"
;
minidump_file
<<
"DumpFile="
<<
aPath
<<
"
\n
"
;;
minidump_file
<<
"DumpFile="
<<
aPath
<<
"
\n
"
;;
minidump_file
.
close
();
minidump_file
.
close
();
SAL_WARN
(
"desktop"
,
"minidump generated: "
<<
aPath
);
SAL_WARN
(
"desktop"
,
"minidump generated: "
<<
aPath
);
...
...
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