diff options
author | Ron Yorston <rmy@pobox.com> | 2018-03-01 11:18:33 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-03-01 11:18:33 +0000 |
commit | 5f8dac68690e92f0be220f8f8d9f797a2aedc806 (patch) | |
tree | 28c1d611ace374f615cac23415b35b2ab54059f4 /archival | |
parent | 701a8d6783f09597e1c9b386b1e6ba890807854c (diff) | |
download | busybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.tar.gz busybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.tar.bz2 busybox-w32-5f8dac68690e92f0be220f8f8d9f797a2aedc806.zip |
Remove fake signal-handling code
Microsoft Windows has only limited support for signals. busybox-w32
initially papered over this fact by adding definitions for unsupported
signals and signal-handling functions.
Remove this fake code and deal with the consequences by excluding
anything that fails to compile as a result.
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c index 990755429..fbe5e3be8 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -1117,7 +1117,9 @@ int tar_main(int argc UNUSED_PARAM, char **argv) | |||
1117 | 1117 | ||
1118 | if (opt & OPT_2COMMAND) { | 1118 | if (opt & OPT_2COMMAND) { |
1119 | putenv((char*)"TAR_FILETYPE=f"); | 1119 | putenv((char*)"TAR_FILETYPE=f"); |
1120 | #ifdef SIGPIPE | ||
1120 | signal(SIGPIPE, SIG_IGN); | 1121 | signal(SIGPIPE, SIG_IGN); |
1122 | #endif | ||
1121 | tar_handle->action_data = data_extract_to_command; | 1123 | tar_handle->action_data = data_extract_to_command; |
1122 | IF_FEATURE_TAR_TO_COMMAND(tar_handle->tar__to_command_shell = xstrdup(get_shell_name());) | 1124 | IF_FEATURE_TAR_TO_COMMAND(tar_handle->tar__to_command_shell = xstrdup(get_shell_name());) |
1123 | } | 1125 | } |