Overview
| Artifact ID: | 74d49b98a2a9df5d65f99e976899029ecbf19404b39cd197c7d86aeddc8e6f31 |
|---|---|
| Ticket: | 92aeb847f9b92cfbd281e9263be3f019ad59192b
proc with more than 2**31 variables |
| User & Date: | jan.nijtmans on 2025-04-10 14:21:03 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
Example (by Ashok): <pre> % proc xx [lrepeat 0x100000000 x] {} killed Or explicitly defining the proc in script % set l [lrepeat 0x100000000 x]; llength $l 4294967296 % writeFile manyargs.tcl [list proc xx $l {return $x}] % exit [apn@tcltk build]$ LD_LIBRARY_PATH=`pwd` ./tclsh manyargs.tcl killed </pre> Note that this has no relation to TIP #626: Those examples don't have more than 2**31 command lines arguments, the "proc" command just has it's second command-line argument being a list with 2**31 arguments. Since Tcl 9.0 already allows large list sizes, Tcl 9.0 should already be able to handle this. Since a proc with that many variable is unrealistic, setting this ticket as "minor" - foundin changed to: "9.0"
- is_private changed to: "0"
- login: "jan.nijtmans"
- priority changed to: "5 Medium"
- private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "jan.nijtmans"
- subsystem changed to: "22. [proc] and [uplevel]"
- title changed to: "proc with more than 2**31 variables"
- type changed to: "Bug"