[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: thinko in define_variable
From: |
Alexandre Duret-Lutz |
Subject: |
FYI: thinko in define_variable |
Date: |
Mon, 16 Sep 2002 11:04:21 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) |
I'm checking this in.
This fixes a bug introduced in my previous change to
define_variable (something I changed after running the full
test suite... sigh).
This should address the cond3.test, cond10.test, cond11.test,
cond22.test, and pr279-2.test failures Paul reported.
2002-09-16 Alexandre Duret-Lutz <address@hidden>
* automake.in (variable_defined): Thinko in $cond handling.
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1350
diff -u -r1.1350 automake.in
--- automake.in 15 Sep 2002 20:34:14 -0000 1.1350
+++ automake.in 16 Sep 2002 09:05:40 -0000
@@ -6488,7 +6488,7 @@
my ($var, $cond) = @_;
if (! exists $var_value{$var}
- && (! defined $cond || ! exists $var_value{$var}{$cond}))
+ || (defined $cond && ! exists $var_value{$var}{$cond}))
{
# VAR is not defined.
--
Alexandre Duret-Lutz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: thinko in define_variable,
Alexandre Duret-Lutz <=