diff options
author | mouring <mouring> | 2003-08-25 01:16:21 +0000 |
---|---|---|
committer | mouring <mouring> | 2003-08-25 01:16:21 +0000 |
commit | a2d61393283676fbd69e260a1d581b2634cb6f6a (patch) | |
tree | 038ff3ce667b904f3687c31a83cb5325c634bca7 /progressmeter.c | |
parent | 41a96ecfb1778a73fb687f900b2e284deaea7d62 (diff) | |
download | openssh-a2d61393283676fbd69e260a1d581b2634cb6f6a.tar.gz |
- (bal) redo how we handle 'mysignal()'. Move it to
openbsd-compat/bsd-misc.c, s/mysignal/signal/ and #define signal to
be our 'mysignal' by default. OK djm@
Diffstat (limited to 'progressmeter.c')
-rw-r--r-- | progressmeter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/progressmeter.c b/progressmeter.c index 170d869f..9fe8cfa4 100644 --- a/progressmeter.c +++ b/progressmeter.c @@ -212,7 +212,7 @@ update_progress_meter(int ignore) if (can_output()) refresh_progress_meter(); - mysignal(SIGALRM, update_progress_meter); + signal(SIGALRM, update_progress_meter); alarm(UPDATE_INTERVAL); errno = save_errno; } @@ -243,7 +243,7 @@ start_progress_meter(char *f, off_t filesize, off_t *stat) if (can_output()) refresh_progress_meter(); - mysignal(SIGALRM, update_progress_meter); + signal(SIGALRM, update_progress_meter); alarm(UPDATE_INTERVAL); } |