Commit f4dafe54 authored by Peter Pentchev's avatar Peter Pentchev

Use sigemptyset() instead of direct assignment

Closes:		Debian bug #788740
parent df930217
......@@ -3,6 +3,8 @@ Change log for hexer, the multi-view binary editor
0.1.9 not yet ;)
- fix a lot of C compiler warnings
- provide a better vasprintf() simulation to fix a display bug
- use sigemptyset() instead of a direct assignment to sigset_t
(reported by Daniel Schepler <dschepler@gmail.com>)
0.1.8 2014/09/11
- fix a crash when inserting or replacing a half-byte
......
......@@ -785,7 +785,7 @@ tio_init(const char * const prog)
#ifdef SA_INTERRUPT
static struct sigaction act;
act.sa_handler = sigwinch_handler;
act.sa_mask = 0;
sigemptyset(&act.sa_mask);
act.sa_flags = SA_INTERRUPT;
sigaction(SIGWINCH, &act, 0);
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment