simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Thu Dec 17 09:10:36 GMT 2015


TL;DR:
  50ea866 Fix build breakage on Unix.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-12-17 09:10:36

commit 50ea866e4c657da00ad03aaa6f2eb492978bf00e
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=50ea866e4c657da00ad03aaa6f2eb492978bf00e;hp=d3db17f3e182eb2f898e32a410afba1683afd1f4
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Dec 17 09:06:53 2015 +0000

    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 |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)



More information about the tartarus-commits mailing list