Optimize and test strchrnul.
[gnulib.git] / ChangeLog
index 2efe5a6..5a3fcbc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,87 @@
+2008-04-28  Eric Blake  <ebb9@byu.net>
+
+       Optimize and test strchrnul.
+       * lib/strchrnul.c (strchrnul): Rewrite to do parallel search.
+       * modules/strchrnul-tests: New file.
+       * tests/test-strchrnul.c: Likewise.
+
+       Remove intprops dependency.
+       * modules/memchr (Depends-on): Remove intprops.
+       * modules/memrchr (Depends-on): Likewise.
+       * modules/memchr2 (Depends-on): Likewise.
+       * lib/memchr.c (__memchr): Hand-inline the TYPE_MAXIMUM check.
+       * lib/memrchr.c (__memrchr): Likewise.
+       * lib/memrchr2.c (memchr2): Likewise.
+       Reported by Simon Josefsson.
+
+2008-04-28  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/sys_socket_h.m4: Move AC_REQUIRE([AC_C_INLINE]) to top.
+       Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2008-04-28  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/inet_ntop.h, lib/inet_pton.h: Remove files.
+
+       * lib/inet_ntop.c: Include arpa/inet.h instead of inet_ntop.h.
+
+       * lib/inet_pton.c: Include arpa/inet.h instead of inet_pton.h.
+
+       * lib/arpa_inet.in.h [@GNULIB_INET_NTOP@]: Inline inet_ntop.h
+       declarations.
+       [@GNULIB_INET_PTON@]: Inline inet_pton.h declarations.
+
+       * m4/inet_pton.m4: Don't check for header files.
+
+       * m4/inet_ntop.m4: Don't check for header files.
+
+2008-04-28  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/sys_socket_h.m4: Require AC_C_INLINE when necessary.
+       * lib/sys_socket.in.h (setsockopt): Use proper win32 tests (don't
+       trigger for cygwin).
+       Reported by Bruno Haible  <bruno@clisp.org>.
+
+2008-04-28  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/strdup.texi: Mention mingw problem.
+
+2008-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stat-time-tests (Depends-on): Add sleep.
+       * tests/test-stat-time.c (force_unlink): New function.
+       (cleanup): Use it.
+       (test_mtime): Remove the ctime related tests.
+       (test_ctime): New function, containing the ctime related tests.
+       (main): Call test_ctime, except on native Windows platforms.
+
+2008-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/rpmatch.c (rpmatch): Add some comments.
+       Reported by James Youngman <jay@gnu.org>.
+
+2008-04-27  Bruno Haible  <bruno@clisp.org>
+
+       * m4/isnanl.m4 (gl_FUNC_ISNANL_WORKS): Also test the behaviour on
+       quiet NaNs.
+
+2008-04-27  Bruno Haible  <bruno@clisp.org>
+
+       Make test-yesno.sh work on mingw.
+       * tests/test-yesno.sh: Postprocess the output to convert CR/LF to LF.
+       * tests/test-yesno.c: Include yesno.h first. Include binary-io.h.
+       (main): Set stdin to binary mode.
+       * modules/yesno-tests (Depends-on): Add binary-io.
+
+2008-04-27  Bruno Haible  <bruno@clisp.org>
+
+       Fix 'isfinite' on x86, x86_64, ia64 platforms.
+       * tests/test-isfinite.c (test_isfinitel): Also test the behavior on
+       argument that lie outside the IEEE 854 domain.
+       * m4/isfinite.m4 (gl_ISFINITEL_WORKS): New macro.
+       (gl_ISFINITE): Use it.
+       * doc/posix-functions/isfinite.texi: Document the fixed bugs.
+
 2008-04-27  Bruno Haible  <bruno@clisp.org>
 
        Allow local renaming in config.h.
        * tests/test-memchr.c; New file, based on tests/test-memchr2.c.
 
 2008-04-26  Eric Blake  <ebb9@byu.net>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/memchr.c: Include intprops.h.
        (__memchr): Optimize parallel detection of matching bytes. Rename local