gawk-diffs
[Top][All Lists]
Advanced

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

[gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 42b4bf2e565642


From: Arnold Robbins
Subject: [gawk-diffs] [SCM] gawk branch, gawk-4.0-stable, updated. 42b4bf2e5656427243f63bc7174cc7eddf1faa9c
Date: Wed, 21 Mar 2012 20:20:46 +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 "gawk".

The branch, gawk-4.0-stable has been updated
       via  42b4bf2e5656427243f63bc7174cc7eddf1faa9c (commit)
      from  e047ee7530cdd62f7501a82505d9f38e57f02415 (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=42b4bf2e5656427243f63bc7174cc7eddf1faa9c

commit 42b4bf2e5656427243f63bc7174cc7eddf1faa9c
Author: Arnold D. Robbins <address@hidden>
Date:   Wed Mar 21 22:20:19 2012 +0200

    Minor getopt fix for cygwin and NEWS update.

diff --git a/ChangeLog b/ChangeLog
index e4239e9..eafd8af 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-21         Corinna Vinschen      <address@hidden>
+
+       * getopt.c: Add Cygwin to list of platforms where it's ok
+       to include <stdlib.h>.
+
 2012-03-20         Arnold D. Robbins     <address@hidden>
 
        Get new getopt to work on Linux and C90 compilers:
diff --git a/NEWS b/NEWS
index 165b94d..453270d 100644
--- a/NEWS
+++ b/NEWS
@@ -13,7 +13,9 @@ Changes from 4.0.0 to 4.0.1
 
 2. Completed the implementation of Rational Range Interpretation.
 
-3. Lots of minor bugs fixed and portability clean-ups along the way. See
+3. Failure to get the group set is no longer a fatal error.
+
+4. Lots of minor bugs fixed and portability clean-ups along the way. See
    the ChangeLog for details.
 
 Changes from 3.1.8 to 4.0.0
diff --git a/getopt.c b/getopt.c
index c5c72a2..b1f854a 100644
--- a/getopt.c
+++ b/getopt.c
@@ -58,9 +58,9 @@
 
 /* This needs to come after some library #include
    to get __GNU_LIBRARY__ defined.  */
-#ifdef __GNU_LIBRARY__
-/* Don't include stdlib.h for non-GNU C libraries because some of them
-   contain conflicting prototypes for getopt.  */
+#if defined (__GNU_LIBRARY__) || defined (__CYGWIN__)
+/* Don't include stdlib.h for non-GNU C libraries and non-Cygwin because some
+   of them contain conflicting prototypes for getopt.  */
 # include <stdlib.h>
 # include <unistd.h>
 #endif /* GNU C library.  */

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

Summary of changes:
 ChangeLog |    5 +++++
 NEWS      |    4 +++-
 getopt.c  |    6 +++---
 3 files changed, 11 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

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