Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 027917e2560a28f038bad0fff11357365e03c6f5
Ticket: 2915945fffffffffffffffffffffffffffffffff
[glob] problems with -directory "" or -path ""
User & Date: stwo on 2009-12-17 01:09:50
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    $ echo '#nothing' > q 
    $ tclsh8.5.8
    
    With Tcl 8.5.0-8.5.2 this will segfault.
    Tcl 8.5.3-8.5.8 will give the following:
    
    % glob -directory "" q
    no files matched glob pattern "q"
    % glob -directory "" q
    /q
    
    The -path option gives the same results for all tcl8.5.*
    
    % glob -path "" q
    no files matched glob pattern "q"
    
    
    Tcl 8.4 seems fine:
    
    $ tclsh8.4.19
    % glob -directory "" q
    q
    % glob -path "" q
    q
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "stwo"
  10. subsystem changed to: "36. Pathname Management"
  11. title changed to: "[glob] problems with -directory "" or -path """
  12. type changed to: "Bug"