diff options
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/archival/tar.c b/archival/tar.c index adb0b934f..c88957734 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -146,6 +146,7 @@ | |||
146 | 146 | ||
147 | #include <fnmatch.h> | 147 | #include <fnmatch.h> |
148 | #include "libbb.h" | 148 | #include "libbb.h" |
149 | #include "common_bufsiz.h" | ||
149 | #include "bb_archive.h" | 150 | #include "bb_archive.h" |
150 | /* FIXME: Stop using this non-standard feature */ | 151 | /* FIXME: Stop using this non-standard feature */ |
151 | #ifndef FNM_LEADING_DIR | 152 | #ifndef FNM_LEADING_DIR |
@@ -161,6 +162,7 @@ | |||
161 | 162 | ||
162 | 163 | ||
163 | #define block_buf bb_common_bufsiz1 | 164 | #define block_buf bb_common_bufsiz1 |
165 | #define INIT_G() do { setup_common_bufsiz(); } while (0) | ||
164 | 166 | ||
165 | 167 | ||
166 | #if ENABLE_FEATURE_TAR_CREATE | 168 | #if ENABLE_FEATURE_TAR_CREATE |
@@ -992,6 +994,7 @@ int tar_main(int argc UNUSED_PARAM, char **argv) | |||
992 | #if ENABLE_FEATURE_TAR_LONG_OPTIONS && ENABLE_FEATURE_TAR_FROM | 994 | #if ENABLE_FEATURE_TAR_LONG_OPTIONS && ENABLE_FEATURE_TAR_FROM |
993 | llist_t *excludes = NULL; | 995 | llist_t *excludes = NULL; |
994 | #endif | 996 | #endif |
997 | INIT_G(); | ||
995 | 998 | ||
996 | /* Initialise default values */ | 999 | /* Initialise default values */ |
997 | tar_handle = init_handle(); | 1000 | tar_handle = init_handle(); |