summaryrefslogtreecommitdiffstats
path: root/tools/genStubs.tcl
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)
commit0db707b6e01935c1c5f32227dc91196e0a4a6efe (patch)
treed6e12479de3299d04a968163589b7028b5defd82 /tools/genStubs.tcl
parent57c454bb5ea60ec31145a71f8db9f3694b02f459 (diff)
downloadtcl-0db707b6e01935c1c5f32227dc91196e0a4a6efe.zip
tcl-0db707b6e01935c1c5f32227dc91196e0a4a6efe.tar.gz
tcl-0db707b6e01935c1c5f32227dc91196e0a4a6efe.tar.bz2
Forced LF translation when generating .h's to avoid spurious diffs when regenerating on a Windows box.
Diffstat (limited to 'tools/genStubs.tcl')
-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]