Overview
| Artifact ID: | e89a5d903ae9f21904b904ffa514df9393e85d2f |
|---|---|
| Ticket: | 2186888fffffffffffffffffffffffffffffffff
infinite for-loop in Tcl 8.6a3 |
| User & Date: | jroemmler on 2008-10-22 13:56:26 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
The following small Tcl code loops forever in Tcl8.6a3: for {set i 20} {$i > 0} {incr i -1} { puts "i=$i" continue } But only, if source'd ! It runs OK if entered interactively. I know the example is bogus, but it has been stripped down as much as possible. My configuration is (RHEL4 machine): # uname -a Linux orion 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:32:02 EDT 2006 x86_64 x86_64 x86_64 GNU/Linux Tcl configured with: # cd tcl8.6a3/unix # ./configure --enable-64bit \ --prefix=/usr/local/tcltk8.6a3 \ --enable-symbols My memory debugger (purify) doesn't complain. I can create a stack trace if required. -Jochen - foundin changed to: "obsolete: 8.6a3"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "jroemmler"
- subsystem changed to: "None"
- title changed to: "infinite for-loop in Tcl 8.6a3"
- type changed to: "Bug"