]> Dogcows Code - chaz/tar/commitdiff
(new_volume): Use sys_exec_info_script() instead of system().
authorSergey Poznyakoff <gray@gnu.org.ua>
Tue, 6 Dec 2005 16:31:49 +0000 (16:31 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Tue, 6 Dec 2005 16:31:49 +0000 (16:31 +0000)
src/buffer.c

index f8fe2ea42dd172c48c87a20846d660fcc0ff3256..cbbea10a23a07a047cfec153469aa09986b80596 100644 (file)
@@ -904,7 +904,7 @@ new_volume (enum access_mode mode)
        {
          if (volno_file_option)
            closeout_volume_number ();
-         if (system (info_script_option) != 0)
+         if (sys_exec_info_script (*archive_name_cursor, global_volno+1))
            FATAL_ERROR ((0, 0, _("%s command failed"),
                          quote (info_script_option)));
        }
This page took 0.025722 seconds and 4 git commands to generate.