bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] tar -T improperly handle escaped characters


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] tar -T improperly handle escaped characters
Date: Sat, 02 Nov 2013 11:30:58 +0200

Hi Nicolas,

Please try the attached patch.

Regards,
Sergey

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 ();

reply via email to

[Prev in Thread] Current Thread [Next in Thread]