From: Sergey Poznyakoff Date: Sun, 17 Nov 2013 15:26:15 +0000 (+0200) Subject: Fix unquoting of input file names. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=6e8bca8b5664f9070fe9cc0d16dff324eb24c069;p=chaz%2Ftar Fix unquoting of input file names. * src/names.c (read_next_name): Unquote file names coming from the -T argument. Bug reported by Nicolas Dudebout. * THANKS: Update. --- diff --git a/THANKS b/THANKS index 79aa0ce..351dcad 100644 --- 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 diff --git a/src/names.c b/src/names.c index eecb9b0..fc9841e 100644 --- a/src/names.c +++ b/src/names.c @@ -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 ();