]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
sbcsgen.pl uses 'select' to point Perl at a different default output
authorSimon Tatham <anakin@pobox.com>
Thu, 8 Aug 2013 17:22:07 +0000 (17:22 +0000)
committerSimon Tatham <anakin@pobox.com>
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.

[originally from svn r10013]

mkfiles.pl

index 906b058428934fa04515c9ae447c06462acc6f27..a8574bfc1505dae6dabdad860463c1dfe927b2df 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 = ("./");