Tcl Source Code

View Ticket
Login
Ticket UUID: 1569042
Title: glob regression
Type: Bug Version: obsolete: 8.4.14
Submitter: dgp Created on: 2006-10-02 04:09:10
Subsystem: 36. Pathname Management Assigned To: dgp
Priority: 9 Immediate Severity:
Status: Closed Last Modified: 2006-10-17 09:20:15
Resolution: Fixed Closed By: sf-robot
    Closed on: 2006-10-17 02:20:15
Description:
% info patch
8.4.13
% glob *
foo
% glob -dir . /foo
.//foo

This is a new bug in Tcl 8.4.13.
Tcl 8.4.12 gets it right:

% info patch
8.4.12
% glob *
foo
% glob -dir . /foo
./foo

This contributes to failures
in the fileutil package test suite.
(1566389)
User Comments: sf-robot added on 2006-10-17 09:20:15:
Logged In: YES 
user_id=1312539

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

dgp added on 2006-10-03 01:40:29:

File Added - 196231: 1569042.patch

Logged In: YES 
user_id=80530


Attached patch corrects
the regression and passes
the test suite on unix.

Committing so it will
get more testing.

dgp added on 2006-10-02 11:44:45:
Logged In: YES 
user_id=80530


Aha!  Good news.  Tcl 8.4.13
is fine too (was testing with
local patched copy).

This regression came into
the 8.4.14 dev. sources with
my 2006-05-13 commit.

dgp added on 2006-10-02 11:21:51:
Logged In: YES 
user_id=80530


BTW, this also is working
fine in the HEAD

Attachments: