Mercurial > hg > octave-lyh > gnulib-hg
changeset 9449:a859a771e88a
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 | f7e0638b709f |
children | 9928de4bfe8a |
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 +++ b/ChangeLog @@ -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 +++ b/m4/printf.m4 @@ -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 +++ b/modules/fprintf-posix @@ -18,6 +18,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe configure.ac:
--- a/modules/snprintf-posix +++ b/modules/snprintf-posix @@ -17,6 +17,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe configure.ac:
--- a/modules/sprintf-posix +++ b/modules/sprintf-posix @@ -17,6 +17,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe stdint
--- a/modules/unistdio/u16-u16-vasnprintf +++ b/modules/unistdio/u16-u16-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/u16-vasnprintf +++ b/modules/unistdio/u16-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/u32-u32-vasnprintf +++ b/modules/unistdio/u32-u32-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/u32-vasnprintf +++ b/modules/unistdio/u32-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/u8-u8-vasnprintf +++ b/modules/unistdio/u8-u8-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/u8-vasnprintf +++ b/modules/unistdio/u8-vasnprintf @@ -37,6 +37,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/unistdio/ulc-vasnprintf +++ b/modules/unistdio/ulc-vasnprintf @@ -35,6 +35,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe alloca-opt localcharset
--- a/modules/vasnprintf-posix +++ b/modules/vasnprintf-posix @@ -16,6 +16,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe configure.ac:
--- a/modules/vasprintf-posix +++ b/modules/vasprintf-posix @@ -16,6 +16,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe configure.ac:
--- a/modules/vfprintf-posix +++ b/modules/vfprintf-posix @@ -18,6 +18,7 @@ printf-frexpl signbit fpucw +nocrash printf-safe configure.ac: