aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-15 13:42:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-15 13:42:28 +0000
commitd98c2d542cfae2572f8f97965ebe1bfb2e110bd6 (patch)
treead4315c201536a47c7c924b841fcbe68a09dbca7 /toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch
parent67675fd48d3d0475a9440ed9612c4770c6e4966d (diff)
downloadupstream-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.tar.gz
upstream-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.tar.bz2
upstream-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.zip
uClibc: remove 0.9.32, it is no longer necessary
SVN-Revision: 31739
Diffstat (limited to 'toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch b/toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch
deleted file mode 100644
index 1a4d47bff2..0000000000
--- a/toolchain/uClibc/patches-0.9.32/970-dst_leap_months_fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Guillaume Bourcier <guillaumebourcier@...>
-
-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@...>
-Signed-off-by: Richard Braun <rbraun@...>
----
- libc/misc/time/time.c | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
-index 19d68e1..8e2ebf1 100644
---- a/libc/misc/time/time.c 2012-03-26 09:55:20.741069297 +0200
-+++ b/libc/misc/time/time.c 2012-03-26 09:55:57.369068289 +0200
-@@ -705,7 +705,7 @@
- ++day;
- }
- monlen = 31 + day_cor[r->month -1] - day_cor[r->month];
-- if (isleap && (r->month > 1)) {
-+ if (isleap && (r->month == 2)) {
- ++monlen;
- }
- /* Wweekday (0 is Sunday) of 1st of the month