зеркало из https://github.com/mozilla/pjs.git
fix for unicode paths while writing out the submitted breakpad report file. b=382508, r=luser
This commit is contained in:
Родитель
c8cc7dd03c
Коммит
8f6c167187
|
@ -47,6 +47,8 @@
|
|||
#include <algorithm>
|
||||
#include <cctype>
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
#include <gtk/gtkhbbox.h>
|
||||
#include <gtk/gtkcheckbutton.h>
|
||||
#include <gtk/gtkcontainer.h>
|
||||
|
@ -276,6 +278,11 @@ static void EmailChanged(GtkEditable* editable, gpointer userData)
|
|||
|
||||
bool UIInit()
|
||||
{
|
||||
// breakpad probably left us with blocked signals, unblock them here
|
||||
sigset_t signals, old;
|
||||
sigfillset(&signals);
|
||||
sigprocmask(SIG_UNBLOCK, &signals, &old);
|
||||
|
||||
if (gtk_init_check(&gArgc, &gArgv)) {
|
||||
gInitialized = true;
|
||||
return true;
|
||||
|
|
Загрузка…
Ссылка в новой задаче