mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
fix for unicode paths while writing out the submitted breakpad report file. b=382508, r=luser
This commit is contained in:
parent
0e0455cca4
commit
2fee870d1b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user