autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.68-116-


From: Jim Meyering
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-116-ge281616
Date: Sun, 15 Jan 2012 17:51:11 +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=e2816169d5f33d6624b60f41eef1fce7779b585a

The branch, master has been updated
       via  e2816169d5f33d6624b60f41eef1fce7779b585a (commit)
      from  c3797b86ccbd96c7353254fc0a36611cfdc4379b (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 e2816169d5f33d6624b60f41eef1fce7779b585a
Author: Jim Meyering <address@hidden>
Date:   Sun Jan 15 17:57:54 2012 +0100

    getopt: refine syntax of previous change
    
    * lib/Autom4te/General.pm (getopt): Use a more concise test.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog               |    5 +++++
 lib/Autom4te/General.pm |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4adfc58..cc33103 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-01-15  Jim Meyering  <address@hidden>
+
+       getopt: refine syntax of previous change
+       * lib/Autom4te/General.pm (getopt): Use a more concise test.
+
 2011-01-15  Stefano Lattarini  <address@hidden>
 
        getopt: remove hack for special handling of "-" argument
diff --git a/lib/Autom4te/General.pm b/lib/Autom4te/General.pm
index e427aa7..f05042f 100644
--- a/lib/Autom4te/General.pm
+++ b/lib/Autom4te/General.pm
@@ -265,7 +265,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 (defined $ARGV[0] && $ARGV[0] =~ /^-./)
+  if (@ARGV && $ARGV[0] =~ /^-./)
     {
       my %argopts;
       for my $k (keys %option)


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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