bug-gnu-utils
[Top][All Lists]
Advanced

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

backslashes in filenames


From: David Shea
Subject: backslashes in filenames
Date: Fri, 13 Sep 2002 20:27:38 -0400

GNU tar seems to break when fed filenames on the command-line containing
backslashes, since it tries to decode them using C-style escape sequences,
but never encoded them to begin with.  The attached patch should fix this.
It encodes the filenames fed to tar on the command-line, and adds a simple
mechanism for the memory used by the freshly encoded filenames to be freed
when the list of names is no longer needed.

-- 
David Shea <address@hidden>
AIM: reallylongword
ICQ: 22448666

Attachment: tar-backslash-patch
Description: Text document


reply via email to

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