]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Fix build breakage on Unix.
authorSimon Tatham <anakin@pobox.com>
Thu, 17 Dec 2015 09:06:53 +0000 (09:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 17 Dec 2015 09:06:53 +0000 (09:06 +0000)
commit50ea866e4c657da00ad03aaa6f2eb492978bf00e
tree96a072faaadbe69dc3d3923dfa22d5cfdf3b5dc7
parentd3db17f3e182eb2f898e32a410afba1683afd1f4
Fix build breakage on Unix.

Occurred as a side effect of commit 198bca233, in which I wrote a Perl
loop of the form 'foreach $srcdir (@srcdirs)' inside which I modified
$srcdir - forgetting the Perl gotcha that if you do that, $srcdir
temporarily aliases the actual array element, so you end up modifying
the array you iterated over. Hence, a set of transformations intended
to convert the source directory list into a special form for the nmake
batch-mode inference rule syntax in particular ended up back in
@srcdirs to be reflected in unrelated makefiles output later in the
run.
mkfiles.pl