about summary refs log tree commit diff
path: root/src/thread/pthread_once.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-10-09 23:44:02 -0400
committerRich Felker <dalias@aerifal.cx>2015-03-30 01:15:45 -0400
commit02ccece69864c006bafd9c318402195c9d48aa4d (patch)
treee6565b951ac39beff3d0f319eb93b3e00ebd5b95 /src/thread/pthread_once.c
parent9882dc933dd7e3cc6bf645153778c7ef48032018 (diff)
downloadmusl-02ccece69864c006bafd9c318402195c9d48aa4d.tar.gz
musl-02ccece69864c006bafd9c318402195c9d48aa4d.tar.xz
musl-02ccece69864c006bafd9c318402195c9d48aa4d.zip
fix handling of negative offsets in timezone spec strings
previously, the hours were considered as a signed quantity while
minutes and seconds were always treated as positive offsets. however,
semantically the '-' sign should negate the whole hh:mm:ss offset.
this bug only affected timezones east of GMT with non-whole-hours
offsets, such as those used in India and Nepal.

(cherry picked from commit 08b996d180323775d5457944eefbb8a51ea72539)
Diffstat (limited to 'src/thread/pthread_once.c')
0 files changed, 0 insertions, 0 deletions