[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284260: glibc: wcrtomb function returns incorrect value



reassign 284260 manpages-dev
retitle 284260 wcrtomb function returns incorrect value
thanks

At Sat, 04 Dec 2004 19:03:04 -0500,
Thomas Dickey wrote:
> Package: glibc
> Severity: normal
> 
> seethe manpage - it says this (and the code behaves that way). But that is
> incorrect.  The standard behavior does not ignore the wc parameter when s is
> NULL:
> 
>        A  third  case  is  when s is NULL. In this case wc is ignored, and the
>        function effectively returns  wcrtomb(buf,L'\0',ps)  where  buf  is  an
>        internal anonymous buffer.
> 
> (And because it's used in ncursesw, that breaks some things that I'll have
> to work around ;-)

Glibc does not provide such manpage.  I reassigned it to manpages-dev.

Regards,
-- gotom



Reply to: