Bug 8677 - auto_path setting is broken
Summary: auto_path setting is broken
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: tcl-vfs (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Nobody's working on this, feel free to take it
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-18 21:34 MSK by Sergey Vlasov
Modified: 2007-02-23 20:17 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Vlasov 2005-12-18 21:34:26 MSK
В tcl-vfs-1.3-alt4 при выполнении package require vfs неверно устанавливается
переменная auto_path.  В результате этого не работает автоматическая загрузка 
функций vfs (например, vfs::mount).
Steps to Reproduce:
$ rpm -q tcl tcl-vfs
tcl-8.4.11-alt1
tcl-vfs-1.3-alt4

$ tclsh
% puts $auto_path            
/usr/share/tcl/tcl8.4 /usr/share/tcl
% package require vfs
1.3
% puts $auto_path
/usr/share/tcl/tcl8.4 /usr/share/tcl /usr/share/tcl/tcllib1.8
/usr/share/tcl/vfs1.3/../../../lib/tcl
% vfs::mount
invalid command name "vfs::mount"
%
Comment 1 Sergey Bolshakov 2006-02-05 01:25:22 MSK
fixed in tcl-vfs-1.3-alt5
Comment 2 Sergey Vlasov 2006-08-29 21:42:02 MSD
Непохоже, что fixed (или опять сломалось в alt6):

$ rpm -q tcl tcl-vfs
tcl-8.4.13-alt1
tcl-vfs-1.3-alt6

$ tclsh
% puts $auto_path
/usr/share/tcl/tcl8.4 /usr/share/tcl
% package require vfs
1.3
% puts $auto_path
/usr/share/tcl/tcl8.4 /usr/share/tcl /usr/share/tcl/tcllib1.8
% vfs::mount
invalid command name "vfs::mount"

Теперь в auto_path просто ничего не добавляется, в результате tclIndex из пакета
не читается, и команды не находятся.
Comment 3 Sergey Bolshakov 2006-09-01 00:59:08 MSD
fixed in alt7.