Tk Library Source Code

View Ticket
Login
Ticket UUID: 1603273
Title: Error in handling filenames with spaces in untar
Type: Bug Version: None
Submitter: exgerhardr Created on: 2006-11-26 17:22:20
Subsystem: tar Assigned To: afaupell
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2007-01-09 02:02:32
Resolution: Fixed Closed By: afaupell
    Closed on: 2006-12-20 19:50:18
Description:
When file names contains spaces untar fails because of comparing a brace delimited string (list representation) with a "normal" string.

Patch provided.

Another problem I fell in was the fact that the parameter calles "files" is interpreted as list of files.
Whereas a single file maybe entered in this situation it fails when specifying a file name with spaces.
For clarity reasons I would prefer the expression "filelist" in these procedures.

Best regard,
  Gerhard
User Comments: afaupell added on 2006-12-21 02:50:18:
Logged In: YES 
user_id=812825
Originator: NO

fixed in tar.tcl v1.9 and tar.man v1.12

exgerhardr added on 2006-11-27 00:22:20:

File Added - 204485: tar-0.2.tcl.patch

Attachments: