Eric Blake wrote: > Hmm - should we provide a gnulib <errno.h> that guarantees all of the > standard errors, rather than doing an ad-hoc definition of EOVERFLOW and > others in every place where they are used?
We already have an EOVERFLOW replacement macro in m4/eoverflow.m4. It would be better to use it rather that the current ad-hoc approach which - defines EOVERFLOW sometimes to E2BIG and sometimes to EINVAL, - ignores the hidden definition on OSF/1. I'm adding a new module 'EOVERFLOW'. This allows to remove the idioms from the lib/*.c files. I applied this. Jim, is it ok to do the same for the 'getugroups' module? 2008-03-30 Bruno Haible <[EMAIL PROTECTED]> * lib/unistdio/u-vsprintf.h (EOVERFLOW): Remove fallback. * modules/unistdio/ulc-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-u8-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-u16-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-vsprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-u32-vsprintf (Depends-on): Add EOVERFLOW. * lib/unistdio/u-vsnprintf.h (EOVERFLOW): Remove fallback. * modules/unistdio/ulc-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-u8-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-u16-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-vsnprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-u32-vsnprintf (Depends-on): Add EOVERFLOW. * lib/unistdio/u-vasprintf.h (EOVERFLOW): Remove fallback. * modules/unistdio/ulc-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-u8-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-u16-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-vasprintf (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-u32-vasprintf (Depends-on): Add EOVERFLOW. * lib/unistdio/ulc-vfprintf.c (EOVERFLOW): Remove fallback. * modules/unistdio/ulc-vfprintf (Depends-on): Add EOVERFLOW. * lib/unistdio/ulc-fprintf.c (EOVERFLOW): Remove fallback. * modules/unistdio/ulc-fprintf (Depends-on): Add EOVERFLOW. * lib/xvasprintf.c (EOVERFLOW): Remove fallback. * modules/xvasprintf (Depends-on): Add EOVERFLOW. * lib/vsprintf.c (EOVERFLOW): Remove fallback. * m4/vsprintf-posix.m4 (gl_FUNC_VSPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/vsprintf-posix (Depends-on): Add EOVERFLOW. * lib/vsnprintf.c (EOVERFLOW): Remove fallback. * m4/vsnprintf-posix.m4 (gl_FUNC_VSNPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/vsnprintf (Depends-on): Add EOVERFLOW. * lib/vfprintf.c (EOVERFLOW): Remove fallback. * m4/vfprintf-posix.m4 (gl_FUNC_VFPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/vfprintf-posix (Depends-on): Add EOVERFLOW. * lib/vasprintf.c (EOVERFLOW): Remove fallback. * m4/vasprintf-posix.m4 (gl_FUNC_VASPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/vasprintf (Depends-on): Add EOVERFLOW. * lib/vasnprintf.c (EOVERFLOW): Remove fallback. * m4/vasnprintf.m4 (gl_FUNC_VASNPRINTF): Drop gl_EOVERFLOW. * m4/vasnprintf-posix.m4 (gl_FUNC_VASNPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/ulc-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u8-u8-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u16-u16-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * modules/unistdio/u32-u32-vasnprintf (Files): Remove m4/eoverflow.m4. (Depends-on): Add EOVERFLOW. * lib/sprintf.c (EOVERFLOW): Remove fallback. * m4/sprintf-posix.m4 (gl_FUNC_SPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/sprintf-posix (Depends-on): Add EOVERFLOW. * lib/snprintf.c (EOVERFLOW): Remove fallback. * m4/snprintf-posix.m4 (gl_FUNC_SNPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/snprintf (Depends-on): Add EOVERFLOW. * lib/poll.c (EOVERFLOW): Remove fallback. * modules/poll (Depends-on): Add EOVERFLOW. * lib/getdelim.c (EOVERFLOW): Remove fallback. * modules/getdelim (Depends-on): Add EOVERFLOW. * lib/ftell.c (EOVERFLOW): Remove fallback. * modules/ftell (Depends-on): Add EOVERFLOW. * lib/fprintf.c (EOVERFLOW): Remove fallback. * m4/fprintf-posix.m4 (gl_FUNC_FPRINTF_POSIX): Drop gl_EOVERFLOW. * modules/fprintf-posix (Depends-on): Add EOVERFLOW. * lib/c-stack.c (EOVERFLOW): Remove unused fallback. * modules/EOVERFLOW: New file. * doc/posix-headers/errno.texi: Mention EOVERFLOW portability problem. =========================== modules/EOVERFLOW ================================ Description: EOVERFLOW macro Files: m4/eoverflow.m4 Depends-on: configure.ac: gl_EOVERFLOW Makefile.am: Include: <errno.h> License: LGPLv2+ Maintainer: Bruno Haible ============================================================================= *** doc/posix-headers/errno.texi.orig 2008-03-30 14:32:41.000000000 +0200 --- doc/posix-headers/errno.texi 2008-03-30 13:08:18.000000000 +0200 *************** *** 3,12 **** POSIX specification: @url{http://www.opengroup.org/susv3xbd/errno.h.html} ! Gnulib module: --- Portability problems fixed by Gnulib: @itemize @end itemize Portability problems not fixed by Gnulib: --- 3,15 ---- POSIX specification: @url{http://www.opengroup.org/susv3xbd/errno.h.html} ! Gnulib module: EOVERFLOW Portability problems fixed by Gnulib: @itemize + @item + The macro @code{EOVERFLOW} is not defined on some platforms: + OSF/1 4.0, mingw. @end itemize Portability problems not fixed by Gnulib: *** lib/c-stack.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/c-stack.c 2008-03-30 12:48:33.000000000 +0200 *************** *** 48,56 **** #ifndef ENOTSUP # define ENOTSUP EINVAL #endif - #ifndef EOVERFLOW - # define EOVERFLOW EINVAL - #endif #include <signal.h> #if ! HAVE_STACK_T && ! defined stack_t --- 48,53 ---- *** lib/fprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/fprintf.c 2008-03-30 12:48:53.000000000 +0200 *************** *** 1,5 **** /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "fseterr.h" #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to the stream FP. Return string length of formatted string. On error, return a negative value. */ --- 29,34 ---- *** lib/ftell.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/ftell.c 2008-03-30 12:49:00.000000000 +0200 *************** *** 23,33 **** /* Get off_t. */ #include <unistd.h> - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - long ftell (FILE *fp) { --- 23,28 ---- *** lib/getdelim.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/getdelim.c 2008-03-30 12:49:20.000000000 +0200 *************** *** 1,5 **** /* getdelim.c --- Implementation of replacement getdelim function. ! Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or --- 1,5 ---- /* getdelim.c --- Implementation of replacement getdelim function. ! Copyright (C) 1994, 1996, 1997, 1998, 2001, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or *************** *** 42,52 **** # define funlockfile(x) ((void) 0) #endif - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Read up to (and including) a DELIMITER from FP into *LINEPTR (and NUL-terminate it). *LINEPTR is a pointer returned from malloc (or NULL), pointing to *N characters of space. It is realloc'ed as --- 42,47 ---- *** lib/poll.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/poll.c 2008-03-30 12:49:51.000000000 +0200 *************** *** 43,52 **** #define INFTIM (-1) #endif - #ifndef EOVERFLOW - #define EOVERFLOW EINVAL - #endif - /* BeOS does not have MSG_PEEK. */ #ifndef MSG_PEEK #define MSG_PEEK 0 --- 43,48 ---- *** lib/snprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/snprintf.c 2008-03-30 12:50:01.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. Written by Simon Josefsson and Paul Eggert. This program is free software; you can redistribute it and/or modify --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. Written by Simon Josefsson and Paul Eggert. This program is free software; you can redistribute it and/or modify *************** *** 29,39 **** #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to string STR. Similar to sprintf, but additional length SIZE limit how much is written into STR. Returns string length of formatted string (which may be larger than SIZE). --- 29,34 ---- *** lib/sprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/sprintf.c 2008-03-30 12:50:10.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif --- 29,34 ---- *** lib/unistdio/u-vasprintf.h.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/unistdio/u-vasprintf.h 2008-03-30 12:50:20.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published *************** *** 14,24 **** You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - int VASPRINTF (DCHAR_T **resultp, const FCHAR_T *format, va_list args) { --- 14,19 ---- *** lib/unistdio/u-vsnprintf.h.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/unistdio/u-vsnprintf.h 2008-03-30 12:50:27.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published *************** *** 14,24 **** You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - int VSNPRINTF (DCHAR_T *buf, size_t size, const FCHAR_T *format, va_list args) { --- 14,19 ---- *** lib/unistdio/u-vsprintf.h.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/unistdio/u-vsprintf.h 2008-03-30 12:50:34.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published *************** *** 14,24 **** You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif --- 14,19 ---- *** lib/unistdio/ulc-fprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/unistdio/ulc-fprintf.c 2008-03-30 12:50:43.000000000 +0200 *************** *** 1,5 **** /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "fseterr.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to the stream FP. Return string length of formatted string. On error, return a negative value. */ --- 29,34 ---- *** lib/unistdio/ulc-vfprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/unistdio/ulc-vfprintf.c 2008-03-30 12:50:51.000000000 +0200 *************** *** 1,5 **** /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "fseterr.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to the stream FP. Return string length of formatted string. On error, return a negative value. */ --- 29,34 ---- *** lib/vasnprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/vasnprintf.c 2008-03-30 14:09:34.000000000 +0200 *************** *** 117,127 **** # include "fpucw.h" #endif - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - #if HAVE_WCHAR_T # if HAVE_WCSLEN # define local_wcslen wcslen --- 117,122 ---- *** lib/vasprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/vasprintf.c 2008-03-30 12:51:10.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2007 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 1999, 2002, 2006-2008 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 30,40 **** #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - int vasprintf (char **resultp, const char *format, va_list args) { --- 30,35 ---- *** lib/vfprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/vfprintf.c 2008-03-30 12:51:19.000000000 +0200 *************** *** 1,5 **** /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to a stream. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "fseterr.h" #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to the stream FP. Return string length of formatted string. On error, return a negative value. */ --- 29,34 ---- *** lib/vsnprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/vsnprintf.c 2008-03-30 12:51:26.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. Written by Simon Josefsson and Yoann Vandoorselaere <[EMAIL PROTECTED]>. This program is free software; you can redistribute it and/or modify --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. Written by Simon Josefsson and Yoann Vandoorselaere <[EMAIL PROTECTED]>. This program is free software; you can redistribute it and/or modify *************** *** 31,41 **** #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - /* Print formatted output to string STR. Similar to vsprintf, but additional length SIZE limit how much is written into STR. Returns string length of formatted string (which may be larger than SIZE). --- 31,36 ---- *** lib/vsprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/vsprintf.c 2008-03-30 12:51:38.000000000 +0200 *************** *** 1,5 **** /* Formatted output to strings. ! Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* Formatted output to strings. ! Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** #include "vasnprintf.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - #ifndef SIZE_MAX # define SIZE_MAX ((size_t) -1) #endif --- 29,34 ---- *** lib/xvasprintf.c.orig 2008-03-30 14:32:41.000000000 +0200 --- lib/xvasprintf.c 2008-03-30 12:51:53.000000000 +0200 *************** *** 1,5 **** /* vasprintf and asprintf with out-of-memory checking. ! Copyright (C) 1999, 2002-2004, 2006, 2007 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by --- 1,5 ---- /* vasprintf and asprintf with out-of-memory checking. ! Copyright (C) 1999, 2002-2004, 2006-2008 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by *************** *** 29,39 **** /* Checked size_t computations. */ #include "xsize.h" - /* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */ - #ifndef EOVERFLOW - # define EOVERFLOW E2BIG - #endif - static inline char * xstrcat (size_t argcount, va_list args) { --- 29,34 ---- *** m4/fprintf-posix.m4.orig 2008-03-30 14:55:08.000000000 +0200 --- m4/fprintf-posix.m4 2008-03-30 14:50:48.000000000 +0200 *************** *** 1,4 **** ! # fprintf-posix.m4 serial 10 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # fprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_FPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/snprintf-posix.m4.orig 2008-03-30 14:55:08.000000000 +0200 --- m4/snprintf-posix.m4 2008-03-30 14:50:54.000000000 +0200 *************** *** 1,4 **** ! # snprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # snprintf-posix.m4 serial 12 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_SNPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/sprintf-posix.m4.orig 2008-03-30 14:55:08.000000000 +0200 --- m4/sprintf-posix.m4 2008-03-30 14:51:14.000000000 +0200 *************** *** 1,4 **** ! # sprintf-posix.m4 serial 10 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # sprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_SPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/vasnprintf-posix.m4.orig 2008-03-30 14:55:08.000000000 +0200 --- m4/vasnprintf-posix.m4 2008-03-30 14:51:20.000000000 +0200 *************** *** 1,4 **** ! # vasnprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vasnprintf-posix.m4 serial 12 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VASNPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/vasnprintf.m4.orig 2008-03-30 14:55:08.000000000 +0200 --- m4/vasnprintf.m4 2008-03-30 14:53:38.000000000 +0200 *************** *** 1,4 **** ! # vasnprintf.m4 serial 24 dnl Copyright (C) 2002-2004, 2006-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vasnprintf.m4 serial 25 dnl Copyright (C) 2002-2004, 2006-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VASNPRINTF], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_CHECK_FUNCS_ONCE([vasnprintf]) if test $ac_cv_func_vasnprintf = no; then gl_REPLACE_VASNPRINTF --- 6,11 ---- *** m4/vasprintf-posix.m4.orig 2008-03-30 14:55:09.000000000 +0200 --- m4/vasprintf-posix.m4 2008-03-30 14:51:29.000000000 +0200 *************** *** 1,4 **** ! # vasprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vasprintf-posix.m4 serial 12 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VASPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/vfprintf-posix.m4.orig 2008-03-30 14:55:09.000000000 +0200 --- m4/vfprintf-posix.m4 2008-03-30 14:51:36.000000000 +0200 *************** *** 1,4 **** ! # vfprintf-posix.m4 serial 10 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vfprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VFPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/vsnprintf-posix.m4.orig 2008-03-30 14:55:09.000000000 +0200 --- m4/vsnprintf-posix.m4 2008-03-30 14:51:43.000000000 +0200 *************** *** 1,4 **** ! # vsnprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vsnprintf-posix.m4 serial 12 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VSNPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** m4/vsprintf-posix.m4.orig 2008-03-30 14:55:09.000000000 +0200 --- m4/vsprintf-posix.m4 2008-03-30 14:51:49.000000000 +0200 *************** *** 1,4 **** ! # vsprintf-posix.m4 serial 10 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, --- 1,4 ---- ! # vsprintf-posix.m4 serial 11 dnl Copyright (C) 2007-2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, *************** *** 6,12 **** AC_DEFUN([gl_FUNC_VSPRINTF_POSIX], [ - AC_REQUIRE([gl_EOVERFLOW]) AC_REQUIRE([gl_PRINTF_SIZES_C99]) AC_REQUIRE([gl_PRINTF_LONG_DOUBLE]) AC_REQUIRE([gl_PRINTF_INFINITE]) --- 6,11 ---- *** modules/fprintf-posix.orig 2008-03-30 14:32:41.000000000 +0200 --- modules/fprintf-posix 2008-03-30 12:57:32.000000000 +0200 *************** *** 20,25 **** --- 20,26 ---- fpucw nocrash printf-safe + EOVERFLOW configure.ac: gl_FUNC_FPRINTF_POSIX *** modules/ftell.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/ftell 2008-03-30 12:57:56.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: ftello stdio + EOVERFLOW configure.ac: gl_FUNC_FTELL *** modules/getdelim.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/getdelim 2008-03-30 12:58:17.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- extensions stdio realloc-posix + EOVERFLOW configure.ac: gl_FUNC_GETDELIM *** modules/poll.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/poll 2008-03-30 12:59:03.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- Depends-on: sys_select sys_time + EOVERFLOW configure.ac: gl_FUNC_POLL *** modules/snprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/snprintf 2008-03-30 12:59:28.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: stdio vasnprintf + EOVERFLOW configure.ac: gl_FUNC_SNPRINTF *** modules/sprintf-posix.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/sprintf-posix 2008-03-30 12:59:32.000000000 +0200 *************** *** 20,25 **** --- 20,26 ---- nocrash printf-safe stdint + EOVERFLOW configure.ac: gl_FUNC_SPRINTF_POSIX *** modules/unistdio/u16-u16-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-u16-vasnprintf 2008-03-30 13:01:07.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u16-u16-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-u16-vasprintf 2008-03-30 13:04:20.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u16-u16-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u16-u16-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-u16-vsnprintf 2008-03-30 13:04:47.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u16-u16-vasnprintf unistr/u16-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u16-u16-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-u16-vsprintf 2008-03-30 13:05:12.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u16-u16-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/u16-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-vasnprintf 2008-03-30 13:01:13.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u16-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-vasprintf 2008-03-30 13:04:23.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u16-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u16-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-vsnprintf 2008-03-30 13:04:51.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u16-vasnprintf unistr/u16-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u16-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u16-vsprintf 2008-03-30 13:05:16.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u16-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/u32-u32-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-u32-vasnprintf 2008-03-30 13:01:18.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u32-u32-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-u32-vasprintf 2008-03-30 13:04:28.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u32-u32-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u32-u32-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-u32-vsnprintf 2008-03-30 13:04:54.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u32-u32-vasnprintf unistr/u32-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u32-u32-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-u32-vsprintf 2008-03-30 13:05:19.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u32-u32-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/u32-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-vasnprintf 2008-03-30 13:01:22.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u32-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-vasprintf 2008-03-30 13:04:32.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u32-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u32-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-vsnprintf 2008-03-30 13:04:58.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u32-vasnprintf unistr/u32-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u32-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u32-vsprintf 2008-03-30 13:05:23.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u32-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/u8-u8-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-u8-vasnprintf 2008-03-30 13:01:27.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u8-u8-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-u8-vasprintf 2008-03-30 13:04:35.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u8-u8-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u8-u8-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-u8-vsnprintf 2008-03-30 13:05:02.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u8-u8-vasnprintf unistr/u8-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u8-u8-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-u8-vsprintf 2008-03-30 13:05:26.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u8-u8-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/u8-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-vasnprintf 2008-03-30 13:01:31.000000000 +0200 *************** *** 42,47 **** --- 42,48 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/u8-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-vasprintf 2008-03-30 13:04:40.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/u8-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/u8-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-vsnprintf 2008-03-30 13:05:05.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u8-vasnprintf unistr/u8-cpy + EOVERFLOW configure.ac: *** modules/unistdio/u8-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/u8-vsprintf 2008-03-30 13:05:29.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/u8-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/unistdio/ulc-fprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-fprintf 2008-03-30 13:05:37.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- unistdio/base unistdio/ulc-vasnprintf fseterr + EOVERFLOW configure.ac: *** modules/unistdio/ulc-vasnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-vasnprintf 2008-03-30 13:01:35.000000000 +0200 *************** *** 40,45 **** --- 40,46 ---- alloca-opt localcharset xsize + EOVERFLOW configure.ac: gl_PREREQ_VASNPRINTF_WITH_EXTRAS *** modules/unistdio/ulc-vasprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-vasprintf 2008-03-30 13:04:43.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/ulc-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/ulc-vfprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-vfprintf 2008-03-30 13:05:40.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- unistdio/base unistdio/ulc-vasnprintf fseterr + EOVERFLOW configure.ac: *** modules/unistdio/ulc-vsnprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-vsnprintf 2008-03-30 13:05:09.000000000 +0200 *************** *** 8,13 **** --- 8,14 ---- Depends-on: unistdio/base unistdio/ulc-vasnprintf + EOVERFLOW configure.ac: *** modules/unistdio/ulc-vsprintf.orig 2008-03-30 14:32:42.000000000 +0200 --- modules/unistdio/ulc-vsprintf 2008-03-30 13:05:33.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- unistdio/base unistdio/ulc-vasnprintf stdint + EOVERFLOW configure.ac: *** modules/vasprintf.orig 2008-03-30 14:32:43.000000000 +0200 --- modules/vasprintf 2008-03-30 13:01:40.000000000 +0200 *************** *** 15,20 **** --- 15,21 ---- extensions vasnprintf stdio + EOVERFLOW configure.ac: gl_FUNC_VASPRINTF *** modules/vfprintf-posix.orig 2008-03-30 14:32:43.000000000 +0200 --- modules/vfprintf-posix 2008-03-30 13:01:45.000000000 +0200 *************** *** 20,25 **** --- 20,26 ---- fpucw nocrash printf-safe + EOVERFLOW configure.ac: gl_FUNC_VFPRINTF_POSIX *** modules/vsnprintf.orig 2008-03-30 14:32:43.000000000 +0200 --- modules/vsnprintf 2008-03-30 13:01:50.000000000 +0200 *************** *** 9,14 **** --- 9,15 ---- Depends-on: stdio vasnprintf + EOVERFLOW configure.ac: gl_FUNC_VSNPRINTF *** modules/vsprintf-posix.orig 2008-03-30 14:32:43.000000000 +0200 --- modules/vsprintf-posix 2008-03-30 13:01:54.000000000 +0200 *************** *** 20,25 **** --- 20,26 ---- nocrash printf-safe stdint + EOVERFLOW configure.ac: gl_FUNC_VSPRINTF_POSIX *** modules/xvasprintf.orig 2008-03-30 14:32:43.000000000 +0200 --- modules/xvasprintf 2008-03-30 13:01:59.000000000 +0200 *************** *** 17,22 **** --- 17,23 ---- xalloc-die xsize stdarg + EOVERFLOW configure.ac: gl_XVASPRINTF