]> Dogcows Code - chaz/tar/commitdiff
(sys_exec_info_script,sys_exec_checkpoint_script): pass the current blocking factor...
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 31 Oct 2007 12:56:46 +0000 (12:56 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 31 Oct 2007 12:56:46 +0000 (12:56 +0000)
src/system.c

index 4183156bd60a2430877aae05dc137eabcaed39d6..fb5a8fa5a147e2040cfd99535ab5d5d6bf5eec30 100644 (file)
@@ -825,6 +825,8 @@ sys_exec_info_script (const char **archive_name, int volume_number)
   setenv ("TAR_VERSION", PACKAGE_VERSION, 1);
   setenv ("TAR_ARCHIVE", *archive_name, 1);
   setenv ("TAR_VOLUME", STRINGIFY_BIGINT (volume_number, uintbuf), 1);
+  setenv ("TAR_BLOCKING_FACTOR",
+         STRINGIFY_BIGINT (blocking_factor, uintbuf), 1);
   setenv ("TAR_SUBCOMMAND", subcommand_string (subcommand_option), 1);
   setenv ("TAR_FORMAT",
          archive_format_string (current_format == DEFAULT_FORMAT ?
@@ -874,6 +876,8 @@ sys_exec_checkpoint_script (const char *script_name,
   setenv ("TAR_VERSION", PACKAGE_VERSION, 1);
   setenv ("TAR_ARCHIVE", archive_name, 1);
   setenv ("TAR_CHECKPOINT", STRINGIFY_BIGINT (checkpoint_number, uintbuf), 1);
+  setenv ("TAR_BLOCKING_FACTOR",
+         STRINGIFY_BIGINT (blocking_factor, uintbuf), 1);
   setenv ("TAR_SUBCOMMAND", subcommand_string (subcommand_option), 1);
   setenv ("TAR_FORMAT",
          archive_format_string (current_format == DEFAULT_FORMAT ?
This page took 0.026653 seconds and 4 git commands to generate.