changeset 8805:c6df1b1d2c81

More info about Cygwin.
author Bruno Haible <bruno@clisp.org>
date Sun, 06 May 2007 23:17:49 +0000
parents 6ce313658b4d
children 552afa2ba87b
files doc/functions/fprintf.texi doc/functions/printf.texi doc/functions/snprintf.texi doc/functions/sprintf.texi doc/functions/vfprintf.texi doc/functions/vprintf.texi doc/functions/vsnprintf.texi doc/functions/vsprintf.texi m4/printf.m4
diffstat 9 files changed, 13 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/doc/functions/fprintf.texi
+++ b/doc/functions/fprintf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/printf.texi
+++ b/doc/functions/printf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/snprintf.texi
+++ b/doc/functions/snprintf.texi
@@ -32,7 +32,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/sprintf.texi
+++ b/doc/functions/sprintf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/vfprintf.texi
+++ b/doc/functions/vfprintf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/vprintf.texi
+++ b/doc/functions/vprintf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/vsnprintf.texi
+++ b/doc/functions/vsnprintf.texi
@@ -32,7 +32,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/doc/functions/vsprintf.texi
+++ b/doc/functions/vsprintf.texi
@@ -25,7 +25,7 @@
 NetBSD 3.0, mingw, BeOS.
 @item
 This function doesn't support the @code{'} flag on some platforms:
-NetBSD 3.0, mingw.
+NetBSD 3.0, Cygwin 2006, mingw.
 @item
 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded
 with zeroes) on some platforms:
--- a/m4/printf.m4
+++ b/m4/printf.m4
@@ -309,6 +309,7 @@
       [
 changequote(,)dnl
        case "$host_os" in
+         cygwin*)      gl_cv_func_printf_flag_grouping="guessing no";;
          netbsd*)      gl_cv_func_printf_flag_grouping="guessing no";;
          mingw* | pw*) gl_cv_func_printf_flag_grouping="guessing no";;
          *)            gl_cv_func_printf_flag_grouping="guessing yes";;
@@ -632,6 +633,8 @@
                                # Guess yes on MacOS X >= 10.3.
          darwin[1-6].*)        gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
          darwin*)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
+                               # Guess yes on Cygwin.
+         cygwin*)              gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
                                # Guess yes on Solaris >= 2.6.
          solaris2.[0-5]*)      gl_cv_func_vsnprintf_zerosize_c99="guessing no";;
          solaris*)             gl_cv_func_vsnprintf_zerosize_c99="guessing yes";;
@@ -692,8 +695,8 @@
 dnl   FreeBSD 5.4, 6.1                     .  ?  .  .  .  .  #  .  .  .  .  .
 dnl   MacOS X 10.3.9                       .  #  .  .  .  .  #  .  .  .  .  .
 dnl   OpenBSD 3.9, 4.0                     .  #  ?  .  .  ?  ?  .  .  .  ?  ?
-dnl   Cygwin 2007                          .  #  #  .  .  ?  ?  .  .  .  .  ?
-dnl   Cygwin 2006                          #  #  #  .  .  ?  ?  .  .  .  .  ?
+dnl   Cygwin 2007 (= Cygwin 1.5.24)        .  #  #  .  .  .  ?  .  .  .  .  .
+dnl   Cygwin 2006 (= Cygwin 1.5.19)        #  #  #  .  .  #  ?  .  .  .  .  .
 dnl   Solaris 10                           .  #  .  .  .  .  #  .  .  .  .  .
 dnl   Solaris 2.6 ... 9                    #  #  #  .  .  .  #  .  .  .  .  .
 dnl   Solaris 2.5.1                        #  #  #  .  .  .  #  #  #  #  #  #