From: SourceForge.net <no...@so...> - 2008-09-29 18:20:33
|
Bugs item #2094946, was opened at 2008-09-05 08:55 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2094946&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 36. Pathname Management Group: obsolete: 8.4.14 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Larry W. Virden (lvirden) Assigned to: Vince Darley (vincentdarley) Summary: glob behavior change between Tcl 8.4 and 8.5 Initial Comment: >From wiki.tcl.tk: [LV] There is a minor different in [glob] in Tcl 8.5. I don't see it mentioned in the changes file and can't put my finger on any specific thing in the ChangeLogs for it. Basically, in Tcl 7.6 through 8.4, glob would ''normalize'' a path name, dropping the final slash of a directory name: === $ tclsh8.4 % glob /home/lwv27/ /home/lwv27 % ^D but now $ tclsh8.5 % glob /home/lwv27/ /home/lwv27/ % ^D === '''[DGP]''' Bug reports like this belong in the Tracker, not here. [LV] I don't know if I am convinced it is a bug report. It is certainly a difference in behavior, but I myself don't see it as a bug. This minor difference actually resulted in a bug report over on mod...@li... , where a function called listModules no longer works, because of the unexpected behavior. Look for the thread titled: recent TCL versions break "listModules" due to different "glob" behavior and result in // instead of / as directory-version separator. I suggested the person report it as a bug, and he was not comfortable doing so, indicating that it could very well be an intentional change. Based on your comment, I will indeed open a new ticket. Thank you. ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2008-09-29 14:20 Message: This change is an effect of the fix for Bug 943995. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2008-09-29 14:10 Message: This change first showed up in Tcl 8.4.14. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2094946&group_id=10894 |