texinfo-commits
[Top][All Lists]
Advanced

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

[6356] pseudotty increase value of _XOPEN_SOURCE


From: Gavin D. Smith
Subject: [6356] pseudotty increase value of _XOPEN_SOURCE
Date: Tue, 23 Jun 2015 19:52:27 +0000

Revision: 6356
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=6356
Author:   gavin
Date:     2015-06-23 19:52:25 +0000 (Tue, 23 Jun 2015)
Log Message:
-----------
pseudotty increase value of _XOPEN_SOURCE

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/info/pseudotty.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2015-06-23 19:12:56 UTC (rev 6355)
+++ trunk/ChangeLog     2015-06-23 19:52:25 UTC (rev 6356)
@@ -1,5 +1,9 @@
 2015-06-23  Gavin Smith  <address@hidden>
 
+       * info/pseudotty.c: Define _XOPEN_SOURCE as 600 instead of 500.
+
+2015-06-23  Gavin Smith  <address@hidden>
+
        * info/echo-area.c (info_read_in_echo_area)
        (info_read_completing_internal, info_read_maybe_completing)
        (info_read_completing_in_echo_area_with_exclusions): Add const

Modified: trunk/info/pseudotty.c
===================================================================
--- trunk/info/pseudotty.c      2015-06-23 19:12:56 UTC (rev 6355)
+++ trunk/info/pseudotty.c      2015-06-23 19:52:25 UTC (rev 6356)
@@ -19,7 +19,10 @@
    
    Originally written by Gavin Smith.  */
 
-#define _XOPEN_SOURCE 500
+#define _XOPEN_SOURCE 600
+/* SunOS 5.10 on SPARC doesn't allow compilation in C99 mode with
+   _XOPEN_SOURCE with a smaller value (and the gnulib stdarg module
+   puts us in C99 mode. */
 
 #include <config.h>
 #include <errno.h>




reply via email to

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