|
2005-02-25
| ||
| 01:03 | • Closed ticket [1119798fff]: Use of glob command does not use '-types f' ... artifact: cdfe0d4233 user: dgp | |
|
2005-02-24
| ||
| 05:38 | • Ticket [1119798fff]: 4 changes artifact: 1d168911ae user: dgp | |
| 05:38 | • Add attachment 1119798.patch to ticket [1119798fff] artifact: 6e68fd17d7 user: dgp | |
| 05:38 | • Ticket [1119798fff] Use of glob command does not use '-types f' switch</... artifact: 71774bf76e user: dgp | |
|
2005-02-10
| ||
| 03:34 | • New ticket [1119798fff]. artifact: cb69a5cfa4 user: mpettigr | |
Use of glob command does not use '-types f' switch
Closed / Fixed1119798fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 22 years ago
Descriptionplain2005-02-10 03:34:54
Problem: The tcltest package use of the glob command is too inclusive since it will match on directory names as well as file names. For example if a directory listing is as follows: all.tcl b.txt c.txt foo [d] where foo is a directory. The command (assume all.tcl is 'standard' all.tcl as suggested in the tcltest doc): tclsh all.tcl -file foo* will match and try to run the directory foo. Solution: Add '-types f' switch to the use of glob commands in the tcltest package. Note: The '-types f' is available in version 8.3 of Tcl so the 'package require Tcl 8.3' does not need to be updated.
dgpplain2005-02-24 05:38:32
Logged In: YES user_id=80530 Here's a patch addressing this report. Please test and report back.
dgpplain2005-02-24 05:38:41
File Added - 122811: 1119798.patch
dgpplain2005-02-25 01:03:16
Logged In: YES user_id=80530 patch committed for 8.4.10 and 8.5a3. (tcltest 2.2.8)
Log in (anonymous is fine) to add a comment.
Attachments:
- 1119798.patch [download] added by dgp on 2005-02-24 05:38:41. [details]