aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/UnicodeNameToCodepoint.cpp
diff options
context:
space:
mode:
authorMarcell Leleszi <59964679+mleleszi@users.noreply.github.com>2025-10-30 18:35:42 +0100
committerGitHub <noreply@github.com>2025-10-30 10:35:42 -0700
commit784b74c6ef8a7f6ffaa7ab250eb35696dd833426 (patch)
treeaa7bcc43098960cac912fd9aeda1a0700e35734c /llvm/lib/Support/UnicodeNameToCodepoint.cpp
parentb1acd6df03d3e0dfaee00191a807142a65b2e212 (diff)
downloadllvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.zip
llvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.tar.gz
llvm-784b74c6ef8a7f6ffaa7ab250eb35696dd833426.tar.bz2
[libc] Fix off by one error in strftime (#165711)
This patch fixes a bug in strftime's return value when the formatted output exactly fills the buffer, not including the null terminator. The previous check failed to account for the null terminator in this case, incorrectly returning the written count instead of 0.
Diffstat (limited to 'llvm/lib/Support/UnicodeNameToCodepoint.cpp')
0 files changed, 0 insertions, 0 deletions