Tcl Source Code

View Ticket
Login
Ticket UUID: 1199331
Title: per-volume working directory
Type: Bug Created on: 2005-05-10 19:20:35
Submitter: dgp Assigned to: patthoyts
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2008-04-17 21:34:51
Status: Open Closed by:
Resolution: None Closed on:
Version: obsolete: 8.4.9
Description:
A Tcl user on Win 2K reports to me:

With 8.3.5, I see this:

   % pwd
   C:/Documents and Settings/donahue/My Documents/oommf
   % cd m:
   % pwd
   M:/vmshare
   % cd temp
   % pwd
   M:/vmshare/temp
   % cd c:
   % pwd
   C:/Documents and Settings/donahue/My Documents/oommf
   % cd m:
   % pwd
   M:/vmshare

When I cd between drives, the cwd is the same as when
the Tcl
shell started.  If I do a cd while on a drive, leave,
and come back, the change is lost.

On 8.4.9 I get:

   % pwd
   C:/Documents and Settings/donahue/My Documents/oommf
   % cd m:
   % pwd
   M:/
   % cd vmshare/temp
   % pwd
   M:/vmshare/temp
   % cd c:
   % pwd
   C:/
   % cd m:
   % pwd
   M:/

Here anytime I change drives I start at root.  This is
different
behavior than in 8.3.5.  It looks to me that volume
relative
paths are broken in both 8.3 and 8.4, but in different
ways.

One annoyance with the 8.4 behavior is that the meaning of
"c:foo" will vary depending on whether or not a cd
off-drive
has occurred.

I assume that volume relative paths were put in to
mimic the
Windows "look and feel."  In that case, it would seem that
having an implementation that doesn't follow the Windows
behavior adds negative value, and should be either fixed or
dropped.
User Comments:
dgp added on 2006-11-23 02:50:36:
Logged In: YES 
user_id=80530
Originator: YES


any progress on this?

nobody added on 2006-11-23 20:20:05:
Logged In: NO 

I haven't had time for the last 6 months, and won't do for several months to come.  I do think that at some point this stuff worked in 8.4.x, but am not too sure.

Vince.

dgp added on 2008-04-15 23:07:22:
Logged In: YES 
user_id=80530
Originator: YES


any chance you can check the status
of this one in 8.4 and 8.5?

patthoyts added on 2008-04-17 21:34:51:
Logged In: YES 
user_id=202636
Originator: NO

I confirm this behaviour still present in 8.5.2 and 8.4.16