Tcl Source Code

View Ticket
Login
Ticket UUID: 1100542
Title: glob failure for Windows shares
Type: Bug Version: obsolete: 8.5a3
Submitter: sachas Created on: 2005-01-11 23:52:17
Subsystem: 36. Pathname Management Assigned To: vincentdarley
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2005-01-17 17:40:55
Resolution: Fixed Closed By: vincentdarley
    Closed on: 2005-01-17 10:40:55
Description:
[glob //machine/*]
-> returns nothing (as before)

[glob //machine/share/*]
-> returns the contents of "share"

[glob //machine/share/subdir/*]
-> returns nothing, even if there are files (this is
the bug). It used to work on 8.4.9 and prior versions
User Comments: vincentdarley added on 2005-01-17 17:40:54:
Logged In: YES 
user_id=32170

Committed to cvs.

vincentdarley added on 2005-01-13 02:08:38:

File Added - 115606: glob.diff

vincentdarley added on 2005-01-13 02:08:37:
Logged In: YES 
user_id=32170

Please test the attached patch.

vincentdarley added on 2005-01-13 00:48:27:
Logged In: YES 
user_id=32170

Note that the more useful (and reliable, assuming 'subdir'
might contain some funny glob-sensitive characters):

glob -dir //machine/share/subdir *

does work correctly.  However this is still a bug which
should be fixed.

Attachments: