Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0594901f5776633283d088acf1480aee87e2c11c
Ticket: 434876ffffffffffffffffffffffffffffffffff
glob of symlink returns incorrect err
User & Date: lvirden on 2001-06-20 18:50:24
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    In all versions of tcl that I have tested the following
    seems to be incorrect:
    
    $ tclsh
    % ln -s /lwv /tmp/notthere
    % glob /tmp/notthere*
    /tmp/notthere
    % glob /tmp/notthere
    no files matched glob pattern "/tmp/notthere"
    while evaluating {glob /tmp/notthere}
    
    For some reason, glob reads too 'deeply' into
    the fact that the file being pointed at does not yet
    appear.
    
    In cases where the file name is a value being passed by
    the user, it becomes nearly impossible to work around
    this bug.
    
  4. foundin changed to: "obsolete: 8.4a3"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "lvirden"
  9. subsystem changed to: "37. File System"
  10. title changed to: "glob of symlink returns incorrect err"
  11. type changed to: "Bug"