tests/test-strstr.c: Rewrite to use malloc/strcpy instead of strdup.
[gnulib.git] / ChangeLog
index dd0f0c6..5b5348c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,112 @@
+2009-05-26  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-strstr.c: Add another self-test.
+       * tests/test-strstr.c: Rewrite to use malloc/strcpy instead of
+       strdup.  Suggested by Eric Blake  <ebb9@byu.net>.
+
+2009-05-23  Bruno Haible  <bruno@clisp.org>
+
+       * doc/havelib.texi (AC_LIB_HAVE_LINKFLAGS): Update for 2009-04-26
+       change.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Simplify use of mode_t varargs.
+       * lib/open.c (open): Use PROMOTED_MODE_T instead of a conditional that
+       uses 'mode_t' or 'int'.
+       * lib/openat.c (openat): Likewise.
+       * lib/open-safer.c (open_safer): Likewise.
+       * m4/mode_t.m4: New file.
+       * m4/open.m4 (gl_PREREQ_OPEN): Require gl_PROMOTED_TYPE_MODE_T.
+       * m4/openat.m4 (gl_PREREQ_OPENAT): Likewise.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Likewise.
+       * modules/open (Files): Add m4/mode_t.m4.
+       * modules/openat (Files): Likewise.
+       * modules/fcntl-safer (Files): Likewise.
+       Suggested by Eric Blake.
+
+2009-05-21  Pádraig Brady  <P@draigbrady.com>
+
+       * doc/glibc-functions/fallocate.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Remove redundant m4_quote
+       invocations.
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       Second attempt to work around an AIX 5.3, 6.1 compiler bug with
+       include_next. Fix of 2008-11-20 commit.
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Also set
+       NEXT_AS_FIRST_DIRECTIVE_FOO_H.
+       * lib/math.in.h: Use NEXT_AS_FIRST_DIRECTIVE_MATH_H instead of
+       NEXT_MATH_H.
+       * modules/math (Makefile.am): Substitute NEXT_AS_FIRST_DIRECTIVE_MATH_H
+       instead of NEXT_MATH_H.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Avoid redefinition warnings for SIZE_MAX.
+       * m4/size_max.m4 (gl_SIZE_MAX): Avoid redefining SIZE_MAX in config.h.
+       Reported by Simon Josefsson.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of
+       AC_CACHE_VAL.
+
+2009-05-20  Bruno Haible  <bruno@clisp.org>
+
+       Make zeroptr.h work on mingw.
+       * tests/zerosize-ptr.h: Test for the presence of <sys/mman.h> and
+       mprotect.
+       * modules/memchr-tests (configure.ac): Also test for sys/mman.h.
+       * modules/memchr2-tests (configure.ac): Likewise.
+       * modules/memcmp-tests (configure.ac): Likewise.
+       * modules/memmem-tests (configure.ac): Likewise.
+       * modules/memrchr-tests (configure.ac): Likewise.
+       Reported by Simon Josefsson.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-glob.c: Include string.h for strcmp prototype.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/getdelim (Depends-on): Add explicit stdint, although it
+       was implicitly already pulled in via realloc-posix.
+       * lib/getdelim.c: Get SIZE_MAX from stdint.h.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       MinGW and IRIX does not have sa_family_t type.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com>.
+       * m4/sys_socket_h.m4: Check for sa_family_t.
+       * lib/sys_socket.in.h: Typedef sa_family_t when needed.
+       * modules/sys_socket: Substitute HAVE_SA_FAMILY_T.
+       * tests/test-sys_socket.c: Check that sa_family_t works.
+
+2009-05-18  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: allow gnulib_dir in VPATH build
+       * top/maint.mk (gnulib_dir): Make relative to $(srcdir).
+
+2009-05-15  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: Give gnulib_dir a default definition.
+       * top/maint.mk (gnulib_dir): Define to 'gnulib', by default.
+       Thus, most packages no longer need to specify this variable in cfg.mk
+
+2009-05-14  Tom Prince  <tom.prince@ualberta.net>  (tiny change)
+
+       rename.m4: fix typos that would make non-mingw cross-configure fail
+       * m4/rename.m4 (gl_FUNC_RENAME): Fix typos.
+
 2009-05-13  Eric Blake  <ebb9@byu.net>
 
        mmap-anon: avoid out-of-order autoconf expansion