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
461b786b
Kaydet (Commit)
461b786b
authored
Nis 21, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
make comment reflect reality
üst
ad4f7256
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
23 deletions
+2
-23
main.cxx
crashrep/source/unx/main.cxx
+2
-23
No files found.
crashrep/source/unx/main.cxx
Dosyayı görüntüle @
461b786b
...
...
@@ -1032,38 +1032,17 @@ static bool setup_version()
return
0
!=
g_strReportServer
.
length
();
}
#if 0
// Use gconftool-2 to determine if gnome accessiblity is enabled
// unused
static bool get_accessibility_state()
{
bool bAccessible = false;
FILE *fin = popen( "gconftool-2 -g /desktop/gnome/interface/accessibility", "r");
if ( fin )
{
char buffer[sizeof("true")];
bAccessible = fgets( buffer, sizeof(buffer), fin ) && 0 == strcmp( buffer, "true" );
pclose( fin );
}
return bAccessible;
}
#endif
int
main
(
int
argc
,
char
**
argv
)
{
FILE
*
fin
=
freopen
(
"/dev/null"
,
"w"
,
stderr
);
if
(
!
fin
)
if
(
!
fin
)
{
return
-
1
;
}
setup_program_dir
(
argv
[
0
]
);
// Don't start if
accessiblity is enabled or
report server is not given
// Don't start if report server is not given
if
(
setup_version
()
)
{
...
...
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