Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: ff9a58e42995692b5d0cf9bb165ace4f1a2a2b731bf69dcbb8a7658ca61d65fd
Ticket: b9725d990bad71033ec286dc01ac0d110c505fc3
::zipfile::mkzip::walk fails with directory names preceded with '-'
User & Date: hromojaro 2019-03-08 20:03:55
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/html"
  4. Change comment to:

    zip::walk fails with sub-directories which names start with '-', due to missing '--' in glob expressions.

    Can be reproduced like this:

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

    Please consider applying the attached patch with a fix.

    Regards,
    H├ęctor Romojaro

  5. Change foundin to "1.19"
  6. Change is_private to "0"
  7. Change login to "hromojaro"
  8. Change priority to "5 Medium"
  9. Change private_contact to "7037081d48397e409dbdf3f634c65c1c892e898b"
  10. Change resolution to "None"
  11. Change severity to "Important"
  12. Change status to "Open"
  13. Change submitter to "hromojaro"
  14. Change subsystem to "zip"
  15. Change title to:

    zip::walk fails with directory names preceded with '-'

  16. Change type to "Patch"