automake-patches
[Top][All Lists]
Advanced

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

FYI: Use of uninitialized value in string eq ...


From: Alexandre Duret-Lutz
Subject: FYI: Use of uninitialized value in string eq ...
Date: Sat, 03 Jan 2004 16:43:05 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

I'm installing this on HEAD and branch-1-8.  This suppress a Perl
diagnostic when a texi file does not have a @setfilename.  (Automake
still diagnose the missing @setfilename and fail, fortunately.)

2004-01-03  Alexandre Duret-Lutz  <address@hidden>

        * automake.in (scan_texinfo_file): Do not compare $outfile to ''
        as $outfile might not be defined at all.

Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1534
diff -u -r1.1534 automake.in
--- automake.in 2 Jan 2004 21:38:07 -0000       1.1534
+++ automake.in 3 Jan 2004 15:39:37 -0000
@@ -2643,7 +2643,7 @@
 
     }
 
-  if ($outfile eq '')
+  if (! $outfile)
     {
       err_am "`$filename' missing address@hidden";
       return;

-- 
Alexandre Duret-Lutz





reply via email to

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