From: Bruno Haible Date: Mon, 11 Sep 2006 12:35:15 +0000 (+0000) Subject: mkdtemp can now use the full . X-Git-Tag: cvs-readonly~1900 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=569a7c62fc0172aec5d994e3db1c4d0bec5802f7;p=gnulib.git mkdtemp can now use the full . --- diff --git a/ChangeLog b/ChangeLog index 743938e5d..ee877afd1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-09-10 Bruno Haible + + * modules/mkdtemp (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4, + m4/inttypes_h.m4, m4/uintmax_t.m4. + 2006-09-09 Bruno Haible * gnulib-tool (func_emit_lib_Makefile_am): Eliminate lib_LDFLAGS diff --git a/lib/ChangeLog b/lib/ChangeLog index 7a7f842d0..8b6902bd3 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2006-09-10 Bruno Haible + + * mkdtemp.c: Include always. Don't include . + 2006-09-10 Sergey Poznyakoff * argp-parse.c (__argp_parse) [!_LIBC]: Make sure diff --git a/lib/mkdtemp.c b/lib/mkdtemp.c index 8bc04121d..3228f0557 100644 --- a/lib/mkdtemp.c +++ b/lib/mkdtemp.c @@ -30,6 +30,7 @@ #endif #include +#include #include #include @@ -38,13 +39,6 @@ # define TMP_MAX 238328 #endif -#if HAVE_STDINT_H || _LIBC -# include -#endif -#if HAVE_INTTYPES_H -# include -#endif - #include #if HAVE_GETTIMEOFDAY || _LIBC diff --git a/m4/ChangeLog b/m4/ChangeLog index 992b87b6c..61c4e6f92 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,7 @@ +2006-09-10 Bruno Haible + + * mkdtemp.m4 (gl_PREREQ_MKDTEMP): Don't require gl_AC_TYPE_UINTMAX_T. + 2006-09-08 Paul Eggert * mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf. diff --git a/m4/mkdtemp.m4 b/m4/mkdtemp.m4 index e02c8256c..e39bcb938 100644 --- a/m4/mkdtemp.m4 +++ b/m4/mkdtemp.m4 @@ -1,5 +1,5 @@ -# mkdtemp.m4 serial 3 -dnl Copyright (C) 2001-2003 Free Software Foundation, Inc. +# mkdtemp.m4 serial 4 +dnl Copyright (C) 2001-2003, 2006 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, dnl with or without modifications, as long as this notice is preserved. @@ -18,6 +18,5 @@ AC_DEFUN([gl_PREREQ_MKDTEMP], AC_REQUIRE([AC_HEADER_STAT]) AC_CHECK_HEADERS_ONCE(sys/time.h unistd.h) AC_CHECK_HEADERS(time.h) - AC_REQUIRE([gl_AC_TYPE_UINTMAX_T]) AC_CHECK_FUNCS(gettimeofday) ]) diff --git a/modules/mkdtemp b/modules/mkdtemp index cbb64d961..3188036ea 100644 --- a/modules/mkdtemp +++ b/modules/mkdtemp @@ -4,13 +4,10 @@ mkdtemp() function: create a private temporary directory. Files: lib/mkdtemp.h lib/mkdtemp.c -m4/ulonglong.m4 -m4/stdint_h.m4 -m4/inttypes_h.m4 -m4/uintmax_t.m4 m4/mkdtemp.m4 Depends-on: +stdint unistd configure.ac: