From d76083d95f43129312ebf8f67189efb8419c84a8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 6 May 2007 23:17:49 +0000 Subject: [PATCH] More info about Cygwin. --- doc/functions/fprintf.texi | 2 +- doc/functions/printf.texi | 2 +- doc/functions/snprintf.texi | 2 +- doc/functions/sprintf.texi | 2 +- doc/functions/vfprintf.texi | 2 +- doc/functions/vprintf.texi | 2 +- doc/functions/vsnprintf.texi | 2 +- doc/functions/vsprintf.texi | 2 +- m4/printf.m4 | 7 +++++-- 9 files changed, 13 insertions(+), 10 deletions(-) diff --git a/doc/functions/fprintf.texi b/doc/functions/fprintf.texi index 661964034..6802bfeb1 100644 --- a/doc/functions/fprintf.texi +++ b/doc/functions/fprintf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/printf.texi b/doc/functions/printf.texi index cd76aa9ec..f77a25af2 100644 --- a/doc/functions/printf.texi +++ b/doc/functions/printf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/snprintf.texi b/doc/functions/snprintf.texi index f7427bbe1..97515738e 100644 --- a/doc/functions/snprintf.texi +++ b/doc/functions/snprintf.texi @@ -32,7 +32,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/sprintf.texi b/doc/functions/sprintf.texi index 30a12733b..7f5c8051f 100644 --- a/doc/functions/sprintf.texi +++ b/doc/functions/sprintf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/vfprintf.texi b/doc/functions/vfprintf.texi index 5010ba254..adb8a9e82 100644 --- a/doc/functions/vfprintf.texi +++ b/doc/functions/vfprintf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/vprintf.texi b/doc/functions/vprintf.texi index f7b860932..7a9bf09c5 100644 --- a/doc/functions/vprintf.texi +++ b/doc/functions/vprintf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/vsnprintf.texi b/doc/functions/vsnprintf.texi index 4be1bbf5b..8ab8a363c 100644 --- a/doc/functions/vsnprintf.texi +++ b/doc/functions/vsnprintf.texi @@ -32,7 +32,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/doc/functions/vsprintf.texi b/doc/functions/vsprintf.texi index 8f0d8ec1c..4b4c6e882 100644 --- a/doc/functions/vsprintf.texi +++ b/doc/functions/vsprintf.texi @@ -25,7 +25,7 @@ arbitrary order, such as @code{"%2$s"}, on some platforms: 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: diff --git a/m4/printf.m4 b/m4/printf.m4 index d1d6fe68a..ecfd02db8 100644 --- a/m4/printf.m4 +++ b/m4/printf.m4 @@ -309,6 +309,7 @@ int main () [ 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 @@ changequote(,)dnl # 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 glibc 2.3.6 . # . . . . . . . . . . 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 # # # . . . # # # # # # -- 2.11.0