Add blank line after setlocale setlocale() has to be separated from the signal handling.
Aaron Marcher me@drkhsh.at
Sat, 16 Sep 2017 14:11:49 +0200
1 files changed,
1 insertions(+),
0 deletions(-)
jump to
M
slstatus.c
→
slstatus.c
@@ -843,6 +843,7 @@ usage();
} setlocale(LC_ALL, ""); + memset(&act, 0, sizeof(act)); act.sa_handler = terminate; sigaction(SIGINT, &act, NULL);