]> sourceware.org Git - automake.git/commitdiff
* lib/Automake/DisjConditions.pm (human): Fix infinite loop when
authorAlexandre Duret-Lutz <adl@gnu.org>
Fri, 23 May 2003 21:26:05 +0000 (21:26 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Fri, 23 May 2003 21:26:05 +0000 (21:26 +0000)
$self contains only one Condition.

ChangeLog
lib/Automake/DisjConditions.pm

index cf7b31528145147c6422a013c4799961bab85ce6..c4a93a979fd43cafe3419ad1014d031050152e1d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-05-23  Alexandre Duret-Lutz  <adl@gnu.org>
 
+       * 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.
index e50ddf8c1c43512a18fb4e26582d8477c2a27c64..8654adee766dc2ea250a6e949bd8a475efb1b5f6 100644 (file)
@@ -273,7 +273,7 @@ sub human ($ )
       my @c = $self->conds;
       if (1 == @c)
        {
-         $res = $self->human;
+         $res = $c[0]->human;
        }
       else
        {
This page took 0.030282 seconds and 5 git commands to generate.