Tcl Library Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

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

  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.

    Can be reproduced like this:

    $ mkdir -- -1
    $ ls
    $ tclsh
    % package require Tcl 8.6
    % package require zipfile::mkzip
    % ::zipfile::mkzip::mkzip -directory .
    bad option "-1/*": must be -directory, -join, -nocomplain, -path, -tails, -types, or --

    Please consider applying the attached patch with a fix.

    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 '-'