diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-08-07 22:15:04 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-08-07 22:15:04 -0400 |
commit | 1ad8138819ced49851e618c9c063aa0ffc86718c (patch) | |
tree | 1342d56489570d42c163535bd2b6791aad0111c7 /src/math/powerpc64/lroundf.c | |
parent | 7dad9c212587267818de919dd9c5886f18f99779 (diff) | |
download | musl-1ad8138819ced49851e618c9c063aa0ffc86718c.tar.gz musl-1ad8138819ced49851e618c9c063aa0ffc86718c.tar.bz2 musl-1ad8138819ced49851e618c9c063aa0ffc86718c.tar.xz musl-1ad8138819ced49851e618c9c063aa0ffc86718c.zip |
fix sign of strftime %z output with offsets <1 hour west of UTC
the sign character produced came from the sign of tm_gmtoff/3600 as an
integer division, which is zero for negative offsets smaller in
magnitude than 3600. instead of printing the hours and minutes as
separate fields, print them as a single value of the form
hours*100+minutes, which naturally has the correct sign.
Diffstat (limited to 'src/math/powerpc64/lroundf.c')
0 files changed, 0 insertions, 0 deletions