changeset 29140:55f644685736

Use GL_NOCRASH, to avoid a crashreporter dialog box from a configure check.
author Bruno Haible <bruno@clisp.org>
date Sun, 04 Nov 2007 21:14:08 +0100
parents 5eec6abb5588
children e60727de1bc1
files ChangeLog m4/printf.m4 modules/fprintf-posix modules/snprintf-posix modules/sprintf-posix modules/unistdio/u16-u16-vasnprintf modules/unistdio/u16-vasnprintf modules/unistdio/u32-u32-vasnprintf modules/unistdio/u32-vasnprintf modules/unistdio/u8-u8-vasnprintf modules/unistdio/u8-vasnprintf modules/unistdio/ulc-vasnprintf modules/vasnprintf-posix modules/vasprintf-posix modules/vfprintf-posix modules/vsnprintf-posix modules/vsprintf-posix
diffstat 17 files changed, 37 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Nov 04 19:52:07 2007 +0100
+++ b/ChangeLog	Sun Nov 04 21:14:08 2007 +0100
@@ -1,3 +1,22 @@
+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.
--- a/m4/printf.m4	Sun Nov 04 19:52:07 2007 +0100
+++ b/m4/printf.m4	Sun Nov 04 21:14:08 2007 +0100
@@ -1,4 +1,4 @@
-# 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,
@@ -774,6 +774,7 @@
     [
       if test "$cross_compiling" = no; then
         AC_LANG_CONFTEST([AC_LANG_SOURCE([
+]GL_NOCRASH[
 changequote(,)dnl
 #include <stdio.h>
 #include <sys/types.h>
@@ -784,6 +785,7 @@
 {
   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
--- a/modules/fprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/fprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -18,6 +18,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/snprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/snprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -17,6 +17,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/sprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/sprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -17,6 +17,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 stdint
 
--- a/modules/unistdio/u16-u16-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u16-u16-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/u16-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u16-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/u32-u32-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u32-u32-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/u32-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u32-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/u8-u8-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u8-u8-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/u8-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/u8-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -37,6 +37,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/unistdio/ulc-vasnprintf	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/unistdio/ulc-vasnprintf	Sun Nov 04 21:14:08 2007 +0100
@@ -35,6 +35,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 alloca-opt
 localcharset
--- a/modules/vasnprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/vasnprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -16,6 +16,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/vasprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/vasprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -16,6 +16,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/vfprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/vfprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -18,6 +18,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/vsnprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/vsnprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -17,6 +17,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 
 configure.ac:
--- a/modules/vsprintf-posix	Sun Nov 04 19:52:07 2007 +0100
+++ b/modules/vsprintf-posix	Sun Nov 04 21:14:08 2007 +0100
@@ -17,6 +17,7 @@
 printf-frexpl
 signbit
 fpucw
+nocrash
 printf-safe
 stdint