# HG changeset patch # User Bruno Haible # Date 1178493469 0 # Node ID c6df1b1d2c81da8d97508cceee7ff1f700976c63 # Parent 6ce313658b4dde5b7817347290e03fdb65544817 More info about Cygwin. diff --git a/doc/functions/fprintf.texi b/doc/functions/fprintf.texi --- 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: diff --git a/doc/functions/printf.texi b/doc/functions/printf.texi --- 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: diff --git a/doc/functions/snprintf.texi b/doc/functions/snprintf.texi --- 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: diff --git a/doc/functions/sprintf.texi b/doc/functions/sprintf.texi --- 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: diff --git a/doc/functions/vfprintf.texi b/doc/functions/vfprintf.texi --- 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: diff --git a/doc/functions/vprintf.texi b/doc/functions/vprintf.texi --- 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: diff --git a/doc/functions/vsnprintf.texi b/doc/functions/vsnprintf.texi --- 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: diff --git a/doc/functions/vsprintf.texi b/doc/functions/vsprintf.texi --- 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: diff --git a/m4/printf.m4 b/m4/printf.m4 --- 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 # # # . . . # # # # # #