Summary: | sys-apps/coreutils: printf chokes on \u0041 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ulrich Müller <ulm> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | UPSTREAM |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://debbugs.gnu.org/36887 https://bugs.debian.org/1022857 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ulrich Müller
2019-03-13 14:05:08 UTC
Also happens with printf from coreutils-8.31... Reported upstream as requested by polynomial-c: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=36887 This has been fixed in coreutils-9.2: https://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=0925e8a0f413ecf9004153d89b312b385b20d0ee author Pádraig Brady <P@draigBrady.com> 2022-10-27 15:17:07 +0100 printf: with \U, support all valid unicode points Previously this was restricted to the C99 universal character subset, which restricted most values <= 0x9F, as that simplifies the C lexer. However printf(1) doesn't need this restriction. Note also the bash builtin printf already supports all values <= 0x9F. * src/printf.c (main): Relax the restriction on points <= 0x9F. * doc/coreutils.texi (printf invocation): Adjust description. * tests/misc/printf-cov.pl: Adjust accordingly. Add new cases. * NEWS: Mention the change in behavior. Reported at https://bugs.debian.org/1022857 |