Overview
| Artifact ID: | 65236bbbf3d8de502c2fe96185ec2be28d11974e |
|---|---|
| Ticket: | 475941ffffffffffffffffffffffffffffffffff
glob not returning filenames... |
| User & Date: | petasis on 2001-10-29 09:22:37 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
Tcl Version: 8.4a4 (CVS 25 October 2001) OS: Unix (and perhaps Windows - untested) Glob seems to fail to return filenames when the search is done in a directory other than the current directory. For example, the following script: set CWD [pwd] proc TestGlob {dir} { puts "Executing \"glob -nocomplain -types {f l r} $dir/*\"..." puts [glob -nocomplain -types {f l r} $dir/*] puts "Executing \"glob -nocomplain -types {f l r} -directory $dir *\"..." puts [glob -nocomplain -types {f l r} -directory $dir *] puts {} } TestGlob $CWD cd .. puts "**** Changing Directory to \"[pwd]\"..." TestGlob $CWD fails to return the file names in the second invocation of the TestGlob procedure, after the current directory has been changed... - foundin changed to: "obsolete: 8.4a4"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "petasis"
- subsystem changed to: "37. File System"
- title changed to: "glob not returning filenames..."
- type changed to: "Bug"