+2007-11-04 Bruno Haible <bruno@clisp.org>
+
+ * m4/printf.m4 (gl_PRINTF_ENOMEM): Use GL_NOCRASH.
+ * modules/fprintf-posix (Depends-on): Add nocrash.
+ * modules/snprintf-posix (Depends-on): Likewise.
+ * modules/sprintf-posix (Depends-on): Likewise.
+ * modules/vasnprintf-posix (Depends-on): Likewise.
+ * modules/vasprintf-posix (Depends-on): Likewise.
+ * modules/vfprintf-posix (Depends-on): Likewise.
+ * modules/vsnprintf-posix (Depends-on): Likewise.
+ * modules/vsprintf-posix (Depends-on): Likewise.
+ * modules/unistdio/u8-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/u16-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/u32-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise.
+ * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
+
2007-11-04 Bruno Haible <bruno@clisp.org>
* modules/nocrash: New file.
-# printf.m4 serial 19
+# printf.m4 serial 20
dnl Copyright (C) 2003, 2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
[
if test "$cross_compiling" = no; then
AC_LANG_CONFTEST([AC_LANG_SOURCE([
+]GL_NOCRASH[
changequote(,)dnl
#include <stdio.h>
#include <sys/types.h>
{
struct rlimit limit;
int ret;
+ nocrash_init ();
/* Some printf implementations allocate temporary space with malloc. */
/* On BSD systems, malloc() is limited by RLIMIT_DATA. */
#ifdef RLIMIT_DATA