From: SourceForge.net <no...@so...> - 2012-05-31 09:38:10
|
Bugs item #2917673, was opened at 2009-12-19 08:03 Message generated for change (Comment added) made by dkf You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2917673&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: 33. Safe Base >Group: current: 8.5.11 Status: Open Resolution: None Priority: 3 Private: No Submitted By: Johannes Kuhn (johannes-kuhn) >Assigned to: Donal K. Fellows (dkf) Summary: Behavior of Safe Base Initial Comment: According to the documentation, Safe Base should not allow subdirectory access. > The only valid file names arguments for the source and load aliases provided to the slave are path in the form of [file join token filename] (i.e. when using the native file path formats: token/filename on Unix and token\filename on Windows), where token is representing one of the directories of the accessPath list and filename is one file in that directory (no sub directories access are allowed). But this breaks the loading of Tcl modules (tm) with a ::, (the :: is translated to the directory separator). So nested directories have been allowed for source, load, and glob. But for the normal auto_path, witch search also in subdirectories, we add each subdirectory into the accessPath and forbid the search for pkgIndex.tcl, so we don't have the same package 2 times. I think this is not a good approach. I think, we should general allow that subdirectories can be searched ---------------------------------------------------------------------- >Comment By: Donal K. Fellows (dkf) Date: 2012-05-31 02:38 Message: Is this an issue with the current tip of the core-8-5-branch or the trunk? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2917673&group_id=10894 |