projects
/
tfcrypt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SIGTSTP: fix quiet mode.
[tfcrypt.git]
/
tfc_skein.c
diff --git
a/tfc_skein.c
b/tfc_skein.c
index 7008e48fb5dd541fc18b5ea0785c60262b692753..3f656696a01a9029bf2f18419feda61b058ab5d6 100644
(file)
--- a/
tfc_skein.c
+++ b/
tfc_skein.c
@@
-170,7
+170,6
@@
_dothat:
sigact.sa_flags = SA_RESTART;
sigact.sa_handler = print_crypt_status;
sigaction(SIGUSR1, &sigact, NULL);
sigact.sa_flags = SA_RESTART;
sigact.sa_handler = print_crypt_status;
sigaction(SIGUSR1, &sigact, NULL);
- sigaction(SIGTSTP, &sigact, NULL);
sigaction(SIGALRM, &sigact, NULL);
sigact.sa_handler = change_status_width;
sigaction(SIGQUIT, &sigact, NULL);
sigaction(SIGALRM, &sigact, NULL);
sigact.sa_handler = change_status_width;
sigaction(SIGQUIT, &sigact, NULL);
@@
-179,6
+178,8
@@
_dothat:
sigact.sa_handler = exit_sigterm;
sigaction(SIGINT, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
sigact.sa_handler = exit_sigterm;
sigaction(SIGINT, &sigact, NULL);
sigaction(SIGTERM, &sigact, NULL);
+ sigact.sa_handler = handle_sigtstp;
+ sigaction(SIGTSTP, &sigact, NULL);
memset(&sigact, 0, sizeof(struct sigaction));
tfc_getcurtime(&delta_time);
memset(&sigact, 0, sizeof(struct sigaction));
tfc_getcurtime(&delta_time);