From f70f6cef393c1cc51ec6cabfc51cdf6c12d95286 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 11 Apr 2001 15:09:30 +0000 Subject: Disable sigterm --- archival/libunarchive/decompress_unzip.c | 6 +++--- archival/libunarchive/unzip.c | 6 +++--- libbb/unzip.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/archival/libunarchive/decompress_unzip.c b/archival/libunarchive/decompress_unzip.c index 576fe34..b843ec8 100644 --- a/archival/libunarchive/decompress_unzip.c +++ b/archival/libunarchive/decompress_unzip.c @@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) (void) signal(SIGINT, (sig_type) abort_gzip); } #ifdef SIGTERM - if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { - (void) signal(SIGTERM, (sig_type) abort_gzip); - } +// if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { +// (void) signal(SIGTERM, (sig_type) abort_gzip); +// } #endif #ifdef SIGHUP if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { diff --git a/archival/libunarchive/unzip.c b/archival/libunarchive/unzip.c index 576fe34..b843ec8 100644 --- a/archival/libunarchive/unzip.c +++ b/archival/libunarchive/unzip.c @@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) (void) signal(SIGINT, (sig_type) abort_gzip); } #ifdef SIGTERM - if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { - (void) signal(SIGTERM, (sig_type) abort_gzip); - } +// if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { +// (void) signal(SIGTERM, (sig_type) abort_gzip); +// } #endif #ifdef SIGHUP if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { diff --git a/libbb/unzip.c b/libbb/unzip.c index 576fe34..b843ec8 100644 --- a/libbb/unzip.c +++ b/libbb/unzip.c @@ -912,9 +912,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file) (void) signal(SIGINT, (sig_type) abort_gzip); } #ifdef SIGTERM - if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { - (void) signal(SIGTERM, (sig_type) abort_gzip); - } +// if (signal(SIGTERM, SIG_IGN) != SIG_IGN) { +// (void) signal(SIGTERM, (sig_type) abort_gzip); +// } #endif #ifdef SIGHUP if (signal(SIGHUP, SIG_IGN) != SIG_IGN) { -- cgit v1.1