about summary refs log tree commit diff
path: root/src/multibyte
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-08-22 19:44:02 -0400
committerRich Felker <dalias@aerifal.cx>2013-08-22 19:44:02 -0400
commit33413cdd25c58f0e57061e0a3cb7a29d492ba785 (patch)
tree0d88bf261c7088e49c9c593e00620434f523fafc /src/multibyte
parent87e133b352c419383116a05cbe251dc396de062f (diff)
downloadmusl-33413cdd25c58f0e57061e0a3cb7a29d492ba785.tar.gz
musl-33413cdd25c58f0e57061e0a3cb7a29d492ba785.tar.xz
musl-33413cdd25c58f0e57061e0a3cb7a29d492ba785.zip
simplify strftime and fix integer overflows
use a long long value so that even with offsets, values cannot
overflow. instead of using different format strings for different
numeric formats, simply use a per-format width and %0*lld for all of
them.

this width specifier is not for use with strftime field widths; that
will be a separate step in the caller.
Diffstat (limited to 'src/multibyte')
0 files changed, 0 insertions, 0 deletions