nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 89f0ba8fb41602c947d9de2dd6350be284280095
parent 5404988bf9c573adf4d783d2f3af944bd17349db
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date:   Tue, 19 Feb 2019 16:26:36 +0530

Fix compilation failure on Trusty

Diffstat:
Msrc/nnn.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/nnn.c b/src/nnn.c @@ -4221,7 +4221,8 @@ int main(int argc, char *argv[]) cfg.restrict0b = 1; /* Ignore/handle certain signals */ - struct sigaction act = {}; + struct sigaction act; + memset(&act, 0, sizeof(act)); act.sa_sigaction = &sigint_handler; act.sa_flags = SA_SIGINFO; if (sigaction(SIGINT, &act, NULL) < 0) {