*: hopefully all setup_common_bufsiz() are in place
[oweals/busybox.git] / archival / tar.c
index caf4363dea69f63cae561d5623c5890f65160061..346a9404eef9f8a3e3780892797aeea7da53b3da 100644 (file)
 
 
 #define block_buf bb_common_bufsiz1
+#define INIT_G() do { setup_common_bufsiz(); } while (0)
 
 
 #if ENABLE_FEATURE_TAR_CREATE
@@ -964,6 +965,7 @@ int tar_main(int argc UNUSED_PARAM, char **argv)
 #if ENABLE_FEATURE_TAR_LONG_OPTIONS && ENABLE_FEATURE_TAR_FROM
        llist_t *excludes = NULL;
 #endif
+       INIT_G();
 
        /* Initialise default values */
        tar_handle = init_handle();