From: Cameron L. <Ca...@Ph...> - 2005-11-16 23:11:32
|
On Tue, Nov 15, 2005 at 10:24:14PM -0800, Andreas Kupries wrote: . . . > Recently we had a change in the Tcl core, in the handling of errors > thrown by the package management. A bug was fixed, a bug whose . . . > pkgIndex.tcl: > package ifneeded FOO 1.0 "source $dir/foo.tcl" > > And foo.tcl: > package provide FOO 1.0.1 > > This discrepance, 1.0 vs 1.0.1, was always an error, now such > an error is actually reported. . . . I'd welcome a few more words of explanation. My memory of version arithmetic was that "package require FOO 1.0" means that 1.0, 1.0.1, 1.0.8, ... are all accepted, but 0.9 is not. Have I had that wrong all along? |