From: Alexandre Duret-Lutz Date: Fri, 23 May 2003 21:26:06 +0000 (+0000) Subject: * lib/Automake/DisjConditions.pm (human): Fix infinite loop when X-Git-Tag: Release-1-7b~175 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a40a5ffbbfc88be78fab58c800cf1943a2972a49;p=thirdparty%2Fautomake.git * lib/Automake/DisjConditions.pm (human): Fix infinite loop when $self contains only one Condition. --- diff --git a/ChangeLog b/ChangeLog index cf7b31528..c4a93a979 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2003-05-23 Alexandre Duret-Lutz + * lib/Automake/DisjConditions.pm (human): Fix infinite loop when + $self contains only one Condition. + * automake.in: Use plain strict, including refs. (macro_define, handle_single_transform_list): Use \&{'name'} to build references to named subroutines. diff --git a/lib/Automake/DisjConditions.pm b/lib/Automake/DisjConditions.pm index e50ddf8c1..8654adee7 100644 --- a/lib/Automake/DisjConditions.pm +++ b/lib/Automake/DisjConditions.pm @@ -273,7 +273,7 @@ sub human ($ ) my @c = $self->conds; if (1 == @c) { - $res = $self->human; + $res = $c[0]->human; } else {