Overview
| Artifact ID: | 884a74c8d724c8e746b1bada5ffd696af63ef27a25ec46596bf74bdd23682c74 |
|---|---|
| Ticket: | 0306a5563c65ab14410c426f59f00d714bf276fc
Writing large strings to file create wrong results |
| User & Date: | pointsman on 2023-04-22 17:54:09 |
Changes
- comment changed to:
Run this script: package require Tcl 9 set fd [open out.txt w+] puts $fd [lrepeat [expr {int(pow(2,31)) + 1}] ""] close $fd The tail of the created file (here the output of tail -c 20) look like: {} {} {} {} {{} {} Note here: ^ If I run the variant from above package require Tcl 9 set fd [open out.txt w+] puts $fd [lrepeat [expr {int(pow(2,31)) + 1}] a] close $fd the tail of the created file looks like: a a a a a a a aa a which also seems wrong. - login: "pointsman"
- mimetype: "text/plain"