[Xotcl] Bug: Non-positional args with no value cause core dump

Schofield, Bryan (GE Transportation) Bryan.Schofield at trans.ge.com
Wed Nov 10 15:17:19 CET 2004


Gustaf/Uwe -

I found a little bug in 1.3.3 that I downloaded on October 15th from=20
  http://media.wu-wien.ac.at/download/xotcl-1.3.3.tar.gz

The following causes a core dump on my Solaris workstation:

Object o
o proc foo {{-foo 1}} {} {
   puts "foo: $foo"
}

o foo
#--> "foo: 1"

o foo -foo 0
#--> "foo: 0"

o foo -foo
#--> BOOM!



Just thought I'd pass that on. Regards
-- bryan



More information about the Xotcl mailing list