automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

FYI: 4/ DisjConditions::human infinite loop


From: Alexandre Duret-Lutz
Subject: FYI: 4/ DisjConditions::human infinite loop
Date: Fri, 23 May 2003 23:24:50 +0200
User-agent: Gnus/5.090016 (Oort Gnus v0.16) Emacs/21.3 (gnu/linux)

An embarrassing mistake that was revealed by the Variable code.

2003-05-23  Alexandre Duret-Lutz  <address@hidden>

        * lib/Automake/DisjConditions.pm (human): Fix infinite loop when
        $self contains only one Condition.

Index: lib/Automake/DisjConditions.pm
===================================================================
RCS file: /cvs/automake/automake/lib/Automake/DisjConditions.pm,v
retrieving revision 1.5
diff -u -r1.5 DisjConditions.pm
--- lib/Automake/DisjConditions.pm      12 Apr 2003 16:41:59 -0000      1.5
+++ lib/Automake/DisjConditions.pm      23 May 2003 21:22:28 -0000
@@ -273,7 +273,7 @@
       my @c = $self->conds;
       if (1 == @c)
        {
-         $res = $self->human;
+         $res = $c[0]->human;
        }
       else
        {

-- 
Alexandre Duret-Lutz





reply via email to

[Prev in Thread] Current Thread [Next in Thread]