|
@@ -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); |
|
|