Skip to content
Browse files

Fix weirdness in options_proc where a local shadowed a global. This f…


the ldelete call in the variant of the new port of ethereal.

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 5, 2004
1 parent 4919e2c commit dd2e6ef27a469844aecd4c23559c65295d945aa4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/port1.0/portutil.tcl
@@ -167,7 +167,7 @@ proc option_deprecate {option {newoption ""} } {

proc option_proc {option args} {
global option_procs $option
global option_procs
eval "lappend option_procs($option) $args"
# Add a read trace to the variable, as the option procedures have no access to reads
trace variable $option rwu option_proc_trace

0 comments on commit dd2e6ef

Please sign in to comment.
You can’t perform that action at this time.