mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Ignoring SIGTRAP signal which is sent at /UPGRADE time.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2375 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
0ce3f8243e
commit
14457371c8
@ -136,6 +136,15 @@ static void dirty_check(void)
|
||||
|
||||
static void textui_init(void)
|
||||
{
|
||||
#ifdef SIGTRAP
|
||||
struct sigaction act;
|
||||
|
||||
sigemptyset(&act.sa_mask);
|
||||
act.sa_flags = 0;
|
||||
act.sa_handler = SIG_IGN;
|
||||
sigaction(SIGTRAP, &act, NULL);
|
||||
#endif
|
||||
|
||||
irssi_gui = IRSSI_GUI_TEXT;
|
||||
core_init();
|
||||
irc_init();
|
||||
|
Loading…
Reference in New Issue
Block a user