This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Stop c32rtomb and mbrtoc32 aliasing wcrtomb and mbrtowc (bug 23793)
- From: Florian Weimer <fweimer at redhat dot com>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: <libc-alpha at sourceware dot org>
- Date: Mon, 22 Oct 2018 16:49:39 +0200
- Subject: Re: Stop c32rtomb and mbrtoc32 aliasing wcrtomb and mbrtowc (bug 23793)
- References: <alpine.DEB.2.21.1810191952420.13545@digraph.polyomino.org.uk>
* Joseph Myers:
> 2018-10-19 Joseph Myers <joseph@codesourcery.com>
>
> [BZ #23793]
> * wcsmbs/c32rtomb.c: New file.
> * wcsmbs/mbrtoc32.c: Likewise.
> * wcsmbs/tst-c32-state.c: Likewise.
> * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
> * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
> * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
> (tests): Add tst-c32-state.
> [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
> $(gen-locales).
Patch and test look good to me. Thanks.
Florian