[libc-commits] [libc] Reland "Fix wcpncpy() return value; add test." (PR #146753)
via libc-commits
libc-commits at lists.llvm.org
Wed Jul 2 11:21:23 PDT 2025
enh-google wrote:
i've also sent a fix to the man page upstream, since the man page has the same bug: https://lore.kernel.org/linux-man/CAJgzZoq0AvK8EDicLk7ZMVbWS8MmoqW0Nv4U9HCFUXnNw+yUGw@mail.gmail.com/T/#u
https://pubs.opengroup.org/onlinepubs/9799919799/functions/wcpncpy.html (and the fact that this failed an existing bionic unit test -- that also passes when run against glibc -- when i tried to switch Android over to the llvm-libc wcpncpy :-) ) is my proof that the new behavior is the expected behavior.
https://github.com/llvm/llvm-project/pull/146753
More information about the libc-commits
mailing list