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: v1.10.2~899 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a40a5ffbbfc88be78fab58c800cf1943a2972a49;p=platform%2Fupstream%2Fautomake.git * lib/Automake/DisjConditions.pm (human): Fix infinite loop when $self contains only one Condition. --- diff --git a/ChangeLog b/ChangeLog index cf7b315..c4a93a9 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 e50ddf8..8654ade 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 {