From: SourceForge.net <no...@so...> - 2003-11-26 18:00:12
|
Bugs item #849514, was opened at 2003-11-26 01:07 Message generated for change (Comment added) made by hobbs You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=849514&group_id=10894 Category: 35. Pathname Management Group: current: 8.4.5 >Status: Closed >Resolution: Out of Date Priority: 5 Submitted By: Christoph Fuchs (vulpeculus) Assigned to: Vince Darley (vincentdarley) Summary: Absolute pathnames with ../ and links Initial Comment: This concerns Tcl on Unix (Solaris 8, Solaris 9, RH Linux Kernel 2.4.?): When trying to open a file (e.g. [open $filename r]) with an absolute pathname containing symbolic links and ../ (parent directory), a wrong file is referenced: e.g. if /home/somedir is a link to /root/otherdir then trying to open /home/somedir/../file opens /home/file instead of /root/file In Tcl 8.3.1 open worked as expected. The first Tcl version which I can test and has the problem is 8.4.1 ---------------------------------------------------------------------- >Comment By: Jeffrey Hobbs (hobbs) Date: 2003-11-26 10:00 Message: Logged In: YES user_id=72656 This works for me in 8.4.5 on linux: ln -s /tmp/dist /home/ tclsh % open /home/dist/../jeffh/.cshrc file4 So this should have been checked against the latest release before submitting. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=849514&group_id=10894 |