diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-17 20:18:43 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-10-17 20:18:43 (GMT) |
commit | d9174b0f8d27e0972f47612a3200003ecbd9aa90 (patch) | |
tree | 6441fab2a0c15a2720ee25b96a7ad7eedc7bef91 /library/safe.tcl | |
parent | e50b4e4c5965bae47fc77840198c415d83302b44 (diff) | |
parent | a76f86e56510b6a36c85f5c22968aed705a26470 (diff) | |
download | tcl-d9174b0f8d27e0972f47612a3200003ecbd9aa90.zip tcl-d9174b0f8d27e0972f47612a3200003ecbd9aa90.tar.gz tcl-d9174b0f8d27e0972f47612a3200003ecbd9aa90.tar.bz2 |
Merge 9.0. More strict -eofchar parsing
Diffstat (limited to 'library/safe.tcl')
-rw-r--r-- | library/safe.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/safe.tcl b/library/safe.tcl index 0cf891e..287ee5c 100644 --- a/library/safe.tcl +++ b/library/safe.tcl @@ -975,7 +975,7 @@ proc ::safe::AliasSource {child args} { set replacementMsg "script error" set code [catch { set f [open $realfile] - fconfigure $f -encoding $encoding -eofchar "\032 {}" + fconfigure $f -encoding $encoding -eofchar "\x1A {}" set contents [read $f] close $f ::interp eval $child [list info script $file] |