summaryrefslogtreecommitdiff
path: root/test/nptl/tst-tsd4.c
diff options
context:
space:
mode:
authorGuillaume Bourcier <guillaumebourcier@free.fr>2011-10-11 13:45:33 +0200
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-10-12 13:23:13 +0200
commit47f3da1cf49377c25772bb54d07db55225bbb142 (patch)
treeb5d0a9528094253e9feba102a74b3238b22dc852 /test/nptl/tst-tsd4.c
parent7eaca202b9f1f79a3c1d2a56a3879364cfa89e42 (diff)
libc: fix daylight saving time handling
The algorithm computing daylight saving time incorrectly adds a day for each month after January for leap years. The clock shift from/to DST can be delayed if the last Sunday of a transition month is exactly seven days before the first of the following month. This change adds a day for the February month only. Signed-off-by: Guillaume Bourcier <guillaumebourcier@free.fr> Signed-off-by: Richard Braun <rbraun@sceen.net> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'test/nptl/tst-tsd4.c')
0 files changed, 0 insertions, 0 deletions