diff options
author | Richard Levitte <levitte@openssl.org> | 2016-03-09 23:58:44 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-03-09 23:58:44 +0100 |
commit | c5798e0eb557cf13852a3982429a641d5c88bcbe (patch) | |
tree | a6cb211ced5d39d10f93e045d1e8d488f4c9b1ea /Configure | |
parent | 64b9d84bfd0da0305a1df9b97ffbdc3898f59e62 (diff) |
Correct slight logic error in processing IF in build.info
This corrects a fault where the inner IF in this example was still
being acted upon:
IF[0]
...whatever...
IF[1]
...whatever more...
ENDIF
ENDIF
With this change, the inner IF is skipped over.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1334,7 +1334,7 @@ if ($builder eq "unified") { # Info we're looking for qr/^\s*IF\[((?:\\.|[^\\\]])*)\]\s*$/ => sub { - if (! @skip || $skip[$#skip] >= 0) { + if (! @skip || $skip[$#skip] > 0) { push @skip, !! $1; } else { push @skip, -1; |