fix for unicode paths while writing out the submitted breakpad report file. b=382508, r=luser

This commit is contained in:
dcamp@mozilla.com 2007-07-24 18:06:15 -07:00
parent 0e0455cca4
commit 2fee870d1b

View File

@ -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;