[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fix leftover call to removed function macros_dump.
From: |
Ralf Wildenhues |
Subject: |
Fix leftover call to removed function macros_dump. |
Date: |
Sun, 25 Apr 2010 18:59:27 +0200 |
User-agent: |
Mutt/1.5.20 (2009-10-28) |
This fixes a theoretical bug introduced with incomplete renaming in a
2003-05-25 patch. I do not know how to trigger the failure path except
by actually introducing the bug in automake.in (tested by replacing the
'if' condition with one that evaluates to true).
For maint.
Cheers,
Ralf
Fix leftover call to removed function macros_dump.
* automake.in (read_main_am_file): Call variables_dump, not
macros_dump. Print actual error before list of variables.
diff --git a/automake.in b/automake.in
index 490c23f..baccad5 100644
--- a/automake.in
+++ b/automake.in
@@ -7050,7 +7050,7 @@ sub read_main_am_file
my ($amfile) = @_;
# This supports the strange variable tricks we are about to play.
- prog_error (macros_dump () . "variable defined before read_main_am_file")
+ prog_error ("variable defined before read_main_am_file\n" . variables_dump
())
if (scalar (variables) > 0);
# Generate copyright header for generated Makefile.in.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Fix leftover call to removed function macros_dump.,
Ralf Wildenhues <=