mbox series

[0/2] More compliant wcrtomb

Message ID 20220505184348.3357550-1-siddhesh@sourceware.org
Headers show
Series More compliant wcrtomb | expand

Message

Siddhesh Poyarekar May 5, 2022, 6:43 p.m. UTC
This two part series removes the MB_CUR_MAX limitation from wcrtomb to
make it comply with POSIX.  The full rationale for doing so is in 2/2 to
ensure that it remains in the git commit log.

Siddhesh Poyarekar (2):
  benchtests: Add wcrtomb microbenchmark
  wcrtomb: Make behavior POSIX compliant

 benchtests/Makefile        |   1 +
 benchtests/bench-wcrtomb.c | 140 +++++++++++++++++++++++++++++++++++++
 debug/tst-fortify.c        |   7 +-
 debug/wcrtomb_chk.c        |   7 +-
 include/wchar.h            |   4 ++
 manual/charset.texi        |  10 +--
 wcsmbs/wcrtomb.c           |  33 ++++++---
 7 files changed, 182 insertions(+), 20 deletions(-)
 create mode 100644 benchtests/bench-wcrtomb.c