dvtm

dynamic virtual terminal manager - with my changes
git clone https://pi.duncano.de/git/dvtm.git
Log | Files | Refs | README | LICENSE

commit 95c8e2101db4976f0c3ae84340748c50e8e6138a
parent 8c3204a8125cd0b3b0f888c602c740301bd02909
Author: Marc André Tanner <mat@brain-dump.org>
Date:   Tue, 22 Mar 2016 22:16:19 +0100

Explicitly zero struct sigaction before registering signal handler

Diffstat:
dvtm.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/dvtm.c b/dvtm.c @@ -919,6 +919,7 @@ setup(void) { } resize_screen(); struct sigaction sa; + memset(&sa, 0, sizeof sa); sa.sa_flags = 0; sigemptyset(&sa.sa_mask); sa.sa_handler = sigwinch_handler;