diff options
author | Eric Blake <ebb9@byu.net> | 2008-01-14 21:00:56 -0700 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2008-01-14 21:03:15 -0700 |
commit | 19c94b20c15567bde81f5c8e93f5a462f1cec4e6 (patch) | |
tree | 5276e36e5fdf7474de557d5c2f1e64c5fbdf570e | |
parent | 9c063a2afdc2f2f6a1da2bb2ec54eadbae42a0ab (diff) | |
download | gnulib-19c94b20c15567bde81f5c8e93f5a462f1cec4e6.tar.gz |
Touch up previous patch.
* m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Fix typo.
* doc/functions/strcasestr.texi (strcasestr): Document OpenBSD bug.
Signed-off-by: Eric Blake <ebb9@byu.net>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/functions/strcasestr.texi | 6 | ||||
-rw-r--r-- | m4/strcasestr.m4 | 4 |
3 files changed, 9 insertions, 5 deletions
@@ -1,5 +1,9 @@ 2008-01-14 Eric Blake <ebb9@byu.net> + Touch up previous patch. + * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Fix typo. + * doc/functions/strcasestr.texi (strcasestr): Document OpenBSD bug. + Convert strcasestr module to use Two-Way algorithm. * modules/strcasestr-simple: New module, based on the old strcasestr, but with Two-Way rather than KMP. diff --git a/doc/functions/strcasestr.texi b/doc/functions/strcasestr.texi index bd6ed44535..b5a7d05195 100644 --- a/doc/functions/strcasestr.texi +++ b/doc/functions/strcasestr.texi @@ -12,8 +12,8 @@ or @code{strcasestr}: @itemize @item This function is missing on some platforms: -MacOS X 10.3, FreeBSD 5.2.1, OpenBSD 4.0, AIX 4.3.2, HP-UX 11, IRIX -6.5, OSF/1 5.1, Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. +MacOS X 10.3, FreeBSD 5.2.1, AIX 4.3.2, HP-UX 11, IRIX 6.5, OSF/1 5.1, +Solaris 10, Cygwin 1.5.x, mingw, Interix 3.5, BeOS. @end itemize Portability problems fixed by Gnulib module @code{strcasestr}: @@ -21,7 +21,7 @@ Portability problems fixed by Gnulib module @code{strcasestr}: @item This function has quadratic instead of linear worst-case complexity on some platforms: -glibc 2.6.1, FreeBSD 6.2, NetBSD 3.0, AIX 5.1. +glibc 2.6.1, FreeBSD 6.2, NetBSD 3.0, OpenBSD 4.0, AIX 5.1. @end itemize Portability problems not fixed by Gnulib: diff --git a/m4/strcasestr.m4 b/m4/strcasestr.m4 index 1edf8e2884..a689170566 100644 --- a/m4/strcasestr.m4 +++ b/m4/strcasestr.m4 @@ -1,4 +1,4 @@ -# strcasestr.m4 serial 7 +# strcasestr.m4 serial 8 dnl Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -19,7 +19,7 @@ AC_DEFUN([gl_FUNC_STRCASESTR_SIMPLE], ]) # gl_FUNC_STRCASESTR_SIMPLE dnl Additionally, check that strcasestr is efficient. -AC_DEFUN([gl_FUNC_STRCASESTR]) +AC_DEFUN([gl_FUNC_STRCASESTR], [ AC_REQUIRE([gl_FUNC_STRCASESTR_SIMPLE]) if test $ac_cv_func_strcasestr = yes; then |