]> Savannah Git Hosting - gnulib.git/commitdiff
mbrtowc.m4: fix a comment typo
authorJim Meyering <meyering@fb.com>
Fri, 16 May 2014 23:03:14 +0000 (16:03 -0700)
committerJim Meyering <meyering@fb.com>
Fri, 16 May 2014 23:03:14 +0000 (16:03 -0700)
* m4/mbrtowc.m4 (gl_FUNC_MBRTOWC): Fix typo s/2/-2/ in
emitted documentation string.

ChangeLog
m4/mbrtowc.m4

index 39e4c1035dc882a57f7f6109474d71544b1fca06..87dec135036766eb6e4239d5eb98afca67c9f4cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2014-05-16  Jim Meyering  <meyering@fb.com>
+
+       mbrtowc.m4: fix a comment typo
+       * m4/mbrtowc.m4 (gl_FUNC_MBRTOWC): Fix typo s/2/-2/ in
+       emitted documentation string.
+
 2014-05-16  Paul Eggert  <eggert@cs.ucla.edu>
 
        mbrlen, mbrtowc: fix bug with empty input
index 47ab2f44a8c9ec18e08fe99e870fad1f9e0a5543..45696f54f6930b180bbe97bd479716982cd5b128 100644 (file)
@@ -71,7 +71,7 @@ AC_DEFUN([gl_FUNC_MBRTOWC],
       case "$gl_cv_func_mbrtowc_empty_input" in
         *yes) ;;
         *) AC_DEFINE([MBRTOWC_EMPTY_INPUT_BUG], [1],
-             [Define if the mbrtowc function does not return (size_t) 2
+             [Define if the mbrtowc function does not return (size_t) -2
               for empty input.])
            REPLACE_MBRTOWC=1
            ;;