summaryrefslogtreecommitdiff
path: root/src/time/__tz.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2017-01-02 17:30:40 -0500
committerRich Felker <dalias@aerifal.cx>2017-01-02 17:30:40 -0500
commit61fb81e3959ecf0848eef8d2767bb80ae5d1a68e (patch)
tree8255caa07d9952fbe1f047df1d9a3dfaf2e3f16a /src/time/__tz.c
parent8fe1f2d79b275b7f7fb0d41c99e379357df63cd9 (diff)
downloadmusl-61fb81e3959ecf0848eef8d2767bb80ae5d1a68e.tar.gz
musl-61fb81e3959ecf0848eef8d2767bb80ae5d1a68e.tar.bz2
musl-61fb81e3959ecf0848eef8d2767bb80ae5d1a68e.tar.xz
musl-61fb81e3959ecf0848eef8d2767bb80ae5d1a68e.zip
fix strftime %y for negative years
commit 583ea83541dcc6481c7a1bd1a9b485526bad84a1 fixed the case where tm_year is negative but the resulting year (offset by 1900) was still positive, which is always the case for time_t values that fit in 32 bits, but not for arbitrary inputs. based on an earlier patch by Julien Ramseier which was overlooked at the time the previous fix was applied.
Diffstat (limited to 'src/time/__tz.c')
0 files changed, 0 insertions, 0 deletions