aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/libarchive/open_transformer.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/archival/libarchive/open_transformer.c b/archival/libarchive/open_transformer.c
index e49eab409..7e0d1dd02 100644
--- a/archival/libarchive/open_transformer.c
+++ b/archival/libarchive/open_transformer.c
@@ -27,7 +27,9 @@ int FAST_FUNC check_signature16(transformer_aux_data_t *aux, int src_fd, unsigne
27 return 0; 27 return 0;
28} 28}
29 29
30#if !ENABLE_PLATFORM_MINGW32 30
31#if SEAMLESS_COMPRESSION
32
31void check_errors_in_children(int signo) 33void check_errors_in_children(int signo)
32{ 34{
33 int status; 35 int status;
@@ -58,7 +60,6 @@ void check_errors_in_children(int signo)
58 bb_got_signal = 1; 60 bb_got_signal = 1;
59 } 61 }
60} 62}
61#endif
62 63
63/* transformer(), more than meets the eye */ 64/* transformer(), more than meets the eye */
64#if BB_MMU 65#if BB_MMU
@@ -114,9 +115,6 @@ void FAST_FUNC open_transformer(int fd, const char *transform_prog)
114 xmove_fd(fd_pipe.rd, fd); 115 xmove_fd(fd_pipe.rd, fd);
115} 116}
116 117
117
118#if SEAMLESS_COMPRESSION
119
120/* Used by e.g. rpm which gives us a fd without filename, 118/* Used by e.g. rpm which gives us a fd without filename,
121 * thus we can't guess the format from filename's extension. 119 * thus we can't guess the format from filename's extension.
122 */ 120 */