From b4ed5427e49f9f70a99f8f3ad3855be0148c7461 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 16 May 2014 16:03:14 -0700 Subject: [PATCH] mbrtowc.m4: fix a comment typo * m4/mbrtowc.m4 (gl_FUNC_MBRTOWC): Fix typo s/2/-2/ in emitted documentation string. --- ChangeLog | 6 ++++++ m4/mbrtowc.m4 | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 39e4c1035d..87dec13503 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2014-05-16 Jim Meyering + + 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 mbrlen, mbrtowc: fix bug with empty input diff --git a/m4/mbrtowc.m4 b/m4/mbrtowc.m4 index 47ab2f44a8..45696f54f6 100644 --- a/m4/mbrtowc.m4 +++ b/m4/mbrtowc.m4 @@ -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 ;; -- 2.39.5