From e63d03a4041d0bad29310200c93a63dbc132363d Mon Sep 17 00:00:00 2001 From: ferrieux Date: Sun, 26 Jul 2009 11:26:13 +0000 Subject: Forced LF translation when generating .h's to avoid spurious diffs when regenerating on a Windows box. --- ChangeLog | 5 +++++ tools/genStubs.tcl | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 85fcd40..12d2258 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-26 Alexandre Ferrieux + + * 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 * 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] -- cgit v0.12