bug-automake
[Top][All Lists]
Advanced

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

Re: bug in perl formline in automake


From: Ralf Wildenhues
Subject: Re: bug in perl formline in automake
Date: Sat, 14 Nov 2009 11:13:56 +0100
User-agent: Mutt/1.5.20 (2009-08-09)

Hi Stepan,

thanks for the report.

* Stepan Kasal wrote on Mon, Nov 09, 2009 at 03:52:29PM CET:
> "automake --help" contains this:

What is automake --version and perl -V?
Any local patches in it that would deviate the line numbers?

> Files which are automatically distributed, if found:
> Use of uninitialized value in formline at /usr/bin/automake line 8334.
>   ABOUT-GNU           README              config.rpath ltcf-gcj.sh
>   ABOUT-NLS           THANKS              config.sub ltconfig
> 
> The error line comes to the terminal through stderr, not stdin.
> 
> Does any of the readers here understand perl formlines?

Enough to think that the code looks ok.  Does this silence the error?

Thanks,
Ralf

diff --git a/automake.in b/automake.in
index 2af2897..15f084e 100755
--- a/automake.in
+++ b/automake.in
@@ -8397,7 +8397,7 @@ Library files:
                       : ($rows * $x));
 
            $idx += $y;
-           $four[$x] = $lcomm[$idx];
+           $four[$x] = $lcomm[$idx] || '';
        }
        write;
     }




reply via email to

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