Artifacts Associated With Ticket 219101ffffffffff
Ticket change [fcf1ff56d2] (rid 108326) by nobody on 2000-10-26 01:10:45:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 5922 Bug Version: 8.4a1 SubmitDate: '2000-06-20' LastModified: '2000-06-20' Severity: MED Status: Released Submitter: techsupp ChangedBy: ericm OS: Linux-SuSE FixedDate: '2000-06-20' FixedInVersion: 8.4a2 ClosedDate: '2000-10-25' Name: Christian Krone ObservedBehavior: The pattern and string argument of the "string match" command are crossed. This way there may be more entries in the cache than needed. Patch: *** optparse.tcl.org Fri Apr 16 02:47:18 1999 --- optparse.tcl Tue Jun 20 15:50:06 2000 *************** *** 253,259 **** # into local variable named "Args". proc ::tcl::OptProc {name desc body} { set namespace [uplevel namespace current]; ! if { ([string match $name "::*"]) || ([string compare $namespace "::"]==0)} { # absolute name or global namespace, name is the key set key $name; --- 253,259 ---- # into local variable named "Args". proc ::tcl::OptProc {name desc body} { set namespace [uplevel namespace current]; ! if { ([string match "::*" $name]) || ([string compare $namespace "::"]==0)} { # absolute name or global namespace, name is the key set key $name; PatchFiles: optparse.tcl Thanks for the patch. I applied it to the sources in the CVS repository, and the fix will go out with Tcl 8.4a2. You should note that we discourage use of the opt package in favor of the cmdline package that is part of tcllib. cmdline is more sophisticated and reliable than opt is. Go to http://dev.scriptics.com/software/tcllib/ for more information. Thanks! - eric -- 06/20/2000 ericm - foundin initialized to: "obsolete: 8.4a1"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "opt0.4: wrong argument order in tcl::OptProc"
- type initialized to: "Bug"
Ticket change [e403fd54b7] (rid 87889) by welch on 2000-10-26 08:34:56:
- closedate changed to: "2000-10-26T01:34:56"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Closed"
Ticket change [95c48718b3] (rid 106210) by dgp on 2001-04-20 02:47:18:
- closedate changed to: "2001-04-19T19:47:18"
- closer changed to: "dgp"
- subsystem changed to: "31. opt Package"