From: simon Date: Thu, 8 Aug 2013 17:22:07 +0000 (+0000) Subject: sbcsgen.pl uses 'select' to point Perl at a different default output X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/d22c54140cd28d440f973312c8308ca9853f06c9 sbcsgen.pl uses 'select' to point Perl at a different default output handle. Revert that when we hackily call it from mkfiles.pl, so that if I have a need to insert diagnostics in the latter they won't go into the end of sbcsdat.c. git-svn-id: svn://svn.tartarus.org/sgt/putty@10013 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mkfiles.pl b/mkfiles.pl index 906b0584..a8574bfc 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -46,7 +46,7 @@ open IN, "Recipe" or do { # HACK: One of the source files in `charset' is auto-generated by # sbcsgen.pl. We need to generate that _now_, before attempting # dependency analysis. -eval 'chdir "charset"; require "sbcsgen.pl"; chdir ".."'; +eval 'chdir "charset"; require "sbcsgen.pl"; chdir ".."; select STDOUT;'; @srcdirs = ("./");