[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.68-114-
From: |
Jim Meyering |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.68-114-g75a5ef5 |
Date: |
Sun, 15 Jan 2012 16:21:59 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=75a5ef5c889bc7db3d560034338e99b2fc88f846
The branch, master has been updated
via 75a5ef5c889bc7db3d560034338e99b2fc88f846 (commit)
from 5bc3e85e91927fd7fa048a6a53d01abcf9978e6a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 75a5ef5c889bc7db3d560034338e99b2fc88f846
Author: Jim Meyering <address@hidden>
Date: Sun Jan 15 17:16:52 2012 +0100
avoid new warning about undefined $ARGV[0]
* lib/Autom4te/General.pm (getopt): Avoid warning induced by
yesterday's change: $ARGV[0] may not be defined, e.g., when
invoked via autoreconf.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 7 +++++++
lib/Autom4te/General.pm | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c5ccc04..2ab830e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-01-15 Jim Meyering <address@hidden>
+
+ avoid new warning about undefined $ARGV[0]
+ * lib/Autom4te/General.pm (getopt): Avoid warning induced by
+ yesterday's change: $ARGV[0] may not be defined, e.g., when
+ invoked via autoreconf.
+
2011-01-14 Stefano Lattarini <address@hidden>
getopt: fix diagnostic for missing mandatory option argument
diff --git a/lib/Autom4te/General.pm b/lib/Autom4te/General.pm
index 5b48005..2379ce3 100644
--- a/lib/Autom4te/General.pm
+++ b/lib/Autom4te/General.pm
@@ -270,7 +270,7 @@ sub getopt (%)
# FIXME: Lot of code duplication with automake here. It would probably
# be best to generalize our getopt() func and rip it out in a new module
# from which automake can sync.
- if ($ARGV[0] =~ /^-./)
+ if (defined $ARGV[0] && $ARGV[0] =~ /^-./)
{
my %argopts;
for my $k (keys %option)
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.68-114-g75a5ef5,
Jim Meyering <=