Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-09-21
16:23 • Closed ticket [463461ffff]: glob truncates names in / directory... plus 7 ot... artifact: 036c69aa03 user: vincentdarley
16:04 • Ticket [463461ffff]: 3 changes artifact: 0de5fbf0e6 user: dkf
16:04 • Ticket [463461ffff]: 4 changes artifact: 27a51520d2 user: nobody
05:34 • New ticket [463461ffff]. artifact: 5c8d209114 user: petasis

glob truncates names in / directory...

Closed / Fixed463461ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 25 years ago
Descriptionplain2001-09-21 05:34:54
The glob command under tcl8.4a3 has a bug under unix
(verified under linux & solaris)
When used on the root directory, the file & directory names return lack the
first character.
The script to reproduce it is simple:

cd /
puts [glob .* *]

This is exactly what is used in tk_getOpen/SaveFile, where the problem
was first observed.
nobodyplain2001-09-21 16:04:34
Logged In: NO 

Please check with 8.4a4; I believe this has been fixed.
dkf Ticket [463461ffff]: 3 changes [History diff]2001-09-21 16:04:48
vincentdarleyplain2001-09-21 16:23:40
Logged In: YES 
user_id=32170

Given in works for dkf, it is a bug which was fixed in 
8.4a4, I will assume.
Log in (anonymous is fine) to add a comment.