Tcl Source Code

View Ticket
Login
Ticket UUID: 1525141
Title: file normalize returns empty string
Type: Bug Created on: 2006-07-19 09:51:32
Submitter: mrohr Assigned to: dgp
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2006-07-20 02:14:37
Status: Closed Closed by: dgp
Resolution: Out of Date Closed on: 2006-07-19 19:14:37
Version: obsolete: 8.5a4
Description:
Under solaris "file normalize" returns an empty string
instead of "/":

[rmx05382:~]$ tclkit
% file normalize /lala/..
% file normalize /lala/../
% file normalize lala/..
/home/rmx05382
% info pat
8.5a4
User Comments:
dgp added on 2006-07-20 02:14:37:
Logged In: YES 
user_id=80530


I think this is a Dup. of 1379287.

Looks like your tclkit is
out of date.  From the Tcl 8.5a4
release of tclsh on Solaris:

% file normalize /lala/..
/
% file normalize /lala/../
/
% file normalize lala/..
/local/src/tcl8.5a4/solaris
% info pat
8.5a4