diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-22 12:18:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-09-22 12:18:17 (GMT) |
commit | a9ba2a08b562e5c0f60b9671df3b4a0c20a23879 (patch) | |
tree | dcb4431aa0ef26fbe88d522ed727c04c50bb800b /library/package.tcl | |
parent | ebb520a84937f16bef1ffe4d56ed7f6f542eedc2 (diff) | |
download | tcl-a9ba2a08b562e5c0f60b9671df3b4a0c20a23879.zip tcl-a9ba2a08b562e5c0f60b9671df3b4a0c20a23879.tar.gz tcl-a9ba2a08b562e5c0f60b9671df3b4a0c20a23879.tar.bz2 |
When writing script files (like pkgIndex.tcl), always use -translation lf, so they don't cause problems on non-windows.
When reading script files, always use -eofchar \032, as this might be left by Windows editors.
Diffstat (limited to 'library/package.tcl')
-rw-r--r-- | library/package.tcl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/package.tcl b/library/package.tcl index eebe91c..64fac7b 100644 --- a/library/package.tcl +++ b/library/package.tcl @@ -409,6 +409,7 @@ proc pkg_mkIndex {args} { } set f [open [file join $dir pkgIndex.tcl] w] + fconfigure $f -translation lf puts $f $index close $f } |