summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorferrieux <ferrieux@users.sourceforge.net>2009-07-26 11:26:13 (GMT)
committerferrieux <ferrieux@users.sourceforge.net>2009-07-26 11:26:13 (GMT)
commite63d03a4041d0bad29310200c93a63dbc132363d (patch)
treed6e12479de3299d04a968163589b7028b5defd82 /tools
parent6a8a3ddd0048b448c24644805f40800eab6464dd (diff)
downloadtcl-e63d03a4041d0bad29310200c93a63dbc132363d.zip
tcl-e63d03a4041d0bad29310200c93a63dbc132363d.tar.gz
tcl-e63d03a4041d0bad29310200c93a63dbc132363d.tar.bz2
Forced LF translation when generating .h's to avoid spurious diffs when regenerating on a Windows box.
Diffstat (limited to 'tools')
-rw-r--r--tools/genStubs.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/genStubs.tcl b/tools/genStubs.tcl
index 03f7ba5..7b89fe9 100644
--- a/tools/genStubs.tcl
+++ b/tools/genStubs.tcl
@@ -10,7 +10,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: genStubs.tcl,v 1.31 2009/07/23 23:02:00 andreas_kupries Exp $
+# RCS: @(#) $Id: genStubs.tcl,v 1.32 2009/07/26 11:26:14 ferrieux Exp $
package require Tcl 8.4
@@ -207,6 +207,7 @@ proc genStubs::rewriteFile {file text} {
}
set in [open ${file} r]
set out [open ${file}.new w]
+ fconfigure $out -translation lf
while {![eof $in]} {
set line [gets $in]