1
0
Fork 0

Add blank line after setlocale

setlocale() has to be separated from the signal handling.
This commit is contained in:
Aaron Marcher 2017-09-16 14:11:49 +02:00
parent fb1f1dea2e
commit 8e25af7dc3
No known key found for this signature in database
GPG key ID: 74B048E5C2474F9A

View file

@ -843,6 +843,7 @@ main(int argc, char *argv[])
} }
setlocale(LC_ALL, ""); setlocale(LC_ALL, "");
memset(&act, 0, sizeof(act)); memset(&act, 0, sizeof(act));
act.sa_handler = terminate; act.sa_handler = terminate;
sigaction(SIGINT, &act, NULL); sigaction(SIGINT, &act, NULL);