diff options
author | ferrieux <ferrieux@users.sourceforge.net> | 2009-07-26 11:26:13 (GMT) |
---|---|---|
committer | ferrieux <ferrieux@users.sourceforge.net> | 2009-07-26 11:26:13 (GMT) |
commit | e63d03a4041d0bad29310200c93a63dbc132363d (patch) | |
tree | d6e12479de3299d04a968163589b7028b5defd82 | |
parent | 6a8a3ddd0048b448c24644805f40800eab6464dd (diff) | |
download | tcl-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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tools/genStubs.tcl | 3 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2009-07-26 Alexandre Ferrieux <ferrieux@users.sourceforge.net> + + * tools/genStubs.tcl: Forced LF translation when generating .h's + to avoid spurious diffs when regenerating on a Windows box. + 2009-07-26 Jan Nijtmans <nijtmans@users.sf.net> * win/Makefile.in: [Bug 2827066] msys build --enable-symbols broken 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] |