Tcl Library Source Code

Ticket Change Details
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to tclconference@googlegroups.com
or submit via the online form by Sep 9.
Overview

Artifact ID: 32d271c58bda2ff8d904d38e595480e9c8d63b8ec88a8cdd592bbc05d43e84c0
Ticket: b9725d990bad71033ec286dc01ac0d110c505fc3
::zipfile::mkzip::walk fails with directory names preceded with '-'
User & Date: hromojaro 2019-03-08 21:01:34
Changes

  1. Change assignee to ""
  2. Change comment to:
    ::zipfile::mkzip::walk fails with sub-directories which names start with '-', due to missing '--' in glob expressions.<p>
    
    Can be reproduced like this: 
    <pre>
    $ mkdir -- -1
    $ ls
    -1/
    $ tclsh
    % package require Tcl 8.6
    8.6.7
    % package require zipfile::mkzip
    1.2
    % ::zipfile::mkzip::mkzip my.zip -directory .
    bad option "-1/*": must be -directory, -join, -nocomplain, -path, -tails, -types, or --
    </pre>
    
    Please consider applying the attached patch with a fix.<p>
    
    Regards,<br/>
    H├ęctor Romojaro
    
  3. Change login to "hromojaro"
  4. Change mimetype to "text/plain"
  5. Change title to:
    ::zipfile::mkzip::walk fails with directory names preceded with '-'