automake-patches
[Top][All Lists]
Advanced

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

Re: couple of warning fixes


From: Alexandre Duret-Lutz
Subject: Re: couple of warning fixes
Date: 25 May 2001 11:41:02 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

>>> "Tom" == Tom Tromey <address@hidden> writes:

 >>>>>> "adl" == Alexandre Duret-Lutz <address@hidden> writes:
 adl> 2001-05-21  Alexandre Duret-Lutz  <address@hidden>
 adl> * automake.in (handle_languages, handle_single_transform_list): Use
 adl> language '' for unknown extensions.
 adl> (derive_suffix): Check whether $extension_map{$source_ext}
 adl> is undefined, not empty.

 Tom> I checked in something similar to this.

Warning: the ChangeLog entry you checked in says
handle_single_transform_list was modified but it's not the case.

 Tom> Could you try it?

Sure.

~/projs/src/heroes % automake
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
Use of uninitialized value in hash element at /home/adl/usr/bin/automake line 
1754.
~/projs/src/heroes %

Index: ChangeLog
===================================================================
RCS file: /cvs/automake/automake/ChangeLog,v
retrieving revision 1.1398
diff -u -r1.1398 ChangeLog
--- ChangeLog   2001/05/24 06:23:20     1.1398
+++ ChangeLog   2001/05/25 09:37:49
@@ -1,3 +1,7 @@
+2001-05-25  Alexandre Duret-Lutz  <address@hidden>
+
+       * automake.in (handle_single_transform_list): Skip unknown extensions.
+
 2001-05-24  Tom Tromey  <address@hidden>
 
        * automake.in (handle_texinfo_helper): Find mdate-sh in current
@@ -8,8 +12,7 @@
 
 2001-05-23  Alexandre Duret-Lutz  <address@hidden>
 
-       * automake.in (handle_languages, handle_single_transform_list):
-       Skip unknown extensions.
+       * automake.in (handle_languages): Skip unknown extensions.
        (derive_suffix): Check whether $extension_map{$source_ext}
        is undefined, not empty.
 
Index: automake.in
===================================================================
RCS file: /cvs/automake/automake/automake.in,v
retrieving revision 1.1132
diff -u -r1.1132 automake.in
--- automake.in 2001/05/24 06:23:20     1.1132
+++ automake.in 2001/05/25 09:37:53
@@ -1751,8 +1751,9 @@
         my ($linker, $object);
 
         $extension = &derive_suffix ($extension);
-        my $lang = $languages{$extension_map{$extension}};
-        if ($lang)
+        my $lang;
+        if ($extension_map{$extension} &&
+            ($lang = $languages{$extension_map{$extension}}))
         {
             &saw_extension ($extension);
             # Found the language, so see what it says.

-- 
Alexandre Duret-Lutz





reply via email to

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