mirror of
https://git.savannah.gnu.org/git/tar.git
synced 2026-07-31 14:36:05 +00:00
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.
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user