sbcsgen.pl uses 'select' to point Perl at a different default output
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Aug 2013 17:22:07 +0000 (17:22 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Thu, 8 Aug 2013 17:22:07 +0000 (17:22 +0000)
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

mkfiles.pl

index 906b058..a8574bf 100755 (executable)
@@ -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 = ("./");