diff options
author | Rich Felker <dalias@aerifal.cx> | 2023-11-06 13:59:06 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2023-11-06 13:59:06 -0500 |
commit | 7b6a6516e133a4154022de4d15b3d5bc800ab3ad (patch) | |
tree | 7d440488296589db0699ab0e66f6543c383f8533 /src/time/clock.c | |
parent | 8c086e767468cc11c6d58d6a92d8511c2bd12024 (diff) | |
download | musl-7b6a6516e133a4154022de4d15b3d5bc800ab3ad.tar.gz musl-7b6a6516e133a4154022de4d15b3d5bc800ab3ad.tar.xz musl-7b6a6516e133a4154022de4d15b3d5bc800ab3ad.zip |
byte-based printf family: emit a nul byte for %lc with argument zero
this is contrary to the spec as written, which requires %lc to behave as if it were %ls on a 2-wchar_t buffer containing the argument and zero. however, apparently no other implementations conform to the spec as written, and in response to Austin Group issue #1647, WG14 chose to align with existing practice and have %lc produce output for this case.
Diffstat (limited to 'src/time/clock.c')
0 files changed, 0 insertions, 0 deletions