]> Dogcows Code - chaz/tar/commitdiff
Fix unquoting of input file names.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 17 Nov 2013 15:26:15 +0000 (17:26 +0200)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 17 Nov 2013 15:27:53 +0000 (17:27 +0200)
* src/names.c (read_next_name): Unquote file names coming from the
-T argument.  Bug reported by Nicolas Dudebout.
* THANKS: Update.

THANKS
src/names.c

diff --git a/THANKS b/THANKS
index 79aa0ce10f5c5befec9bc35bf69328134f7253af..351dcad3125f8131bcc4af4546dbe3290e4968a2 100644 (file)
--- a/THANKS
+++ b/THANKS
@@ -368,6 +368,7 @@ Neil Faulks         neil@dcs.kcl.ac.uk
 Neil Jerram            nj104@cus.cam.ac.uk
 Nelson H.F. Beebe      beebe@math.utah.edu
 Nick Barron            nikb@cix.compulink.co.uk
+Nicolas Dudebout       nicolas.dudebout@gmail.com
 Noah Friedman          friedman@gnu.org
 Noel Cragg             noel@red-bean.com
 Norbert Kiesel         norbert@rwthi3.informatik.rwth-aachen.de
index eecb9b075b21bd0996ae31a0ccce768b87e53a67..fc9841e25410d45f9ff3c3871ab676863af39d09 100644 (file)
@@ -492,6 +492,8 @@ read_next_name (struct name_elt *ent, struct name_elt *ret)
          ent->v.file.term = 0;
          /* fall through */
        case file_list_success:
+         if (unquote_option)
+           unquote_string (name_buffer);
          if (handle_option (name_buffer) == 0)
            {
              name_list_adjust ();
This page took 0.027273 seconds and 4 git commands to generate.