Tcl Source Code

View Ticket
Login
Ticket UUID: 946952
Title: interactive command completion does glob escapes
Type: Bug Version: obsolete: 8.5a2
Submitter: dgp Created on: 2004-05-03 13:56:10
Subsystem: 38. Init - Library - Autoload Assigned To: dgp
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2004-05-03 21:32:29
Resolution: Fixed Closed By: dgp
    Closed on: 2004-05-03 14:32:29
Description:
    % proc x {} {puts foo}
    % \\x
    foo
    % {\x}
    foo

The effect is that command
name {\x} is treated as an
alias for command name {x}.

Problem is rooted in the
use of [info commands]
without care that it does
glob-matching.
User Comments: dgp added on 2004-05-03 21:32:29:

File Added - 85936: 946952.patch

Logged In: YES 
user_id=80530

committing attached patch
for 8.4.7 and 8.5a2.

Attachments: