[PATCH] manual: Fix Wrong declaration of wcschr [BZ #24654]

Florian Weimer fw@deneb.enyo.de
Thu Mar 5 08:34:00 GMT 2020


* Girish Joshi:

>>From c31372c69498467c1668fd6ce4d20272c22d6415 Mon Sep 17 00:00:00 2001
> From: Girish Joshi <girish946@gmail.com>
> Date: Thu, 5 Mar 2020 13:43:22 +0530
> Subject: [PATCH] manual: Fix Wrong declaration of wcschr [BZ #24654]
>
> ---
>  manual/string.texi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/manual/string.texi b/manual/string.texi
> index a1c58e58fa..c39c732ce4 100644
> --- a/manual/string.texi
> +++ b/manual/string.texi
> @@ -1778,7 +1778,7 @@ need that information, it is better (but less
> portable) to use
>  @code{strchrnul} than to search for it a second time.
>  @end deftypefun
>
> -@deftypefun {wchar_t *} wcschr (const wchar_t *@var{wstring}, int @var{wc})
> +@deftypefun {wchar_t *} wcschr (const wchar_t *@var{wstring}, wchar_t @var{wc})
>  @standards{ISO, wchar.h}
>  @safety{@prelim{}@mtsafe{}@assafe{}@acsafe{}}
>  The @code{wcschr} function finds the first occurrence of the wide

Thanks.

The patch looks okay, but it's been word-wrapped, so it doesn't apply
automatically.  I fixed this and pushed it (and also changed the
capitalization of the subject).



More information about the Libc-alpha mailing list