From 6e8bca8b5664f9070fe9cc0d16dff324eb24c069 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Sun, 17 Nov 2013 17:26:15 +0200 Subject: [PATCH] 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. --- THANKS | 1 + src/names.c | 2 ++ 2 files changed, 3 insertions(+) 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 (); -- 2.43.0