<feed xmlns='http://www.w3.org/2005/Atom'>
<title>uClibc-alpine/libc/misc/time, branch master</title>
<subtitle>Where we track our uclibc patches
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/'/>
<entry>
<title>libc: fix daylight saving time handling</title>
<updated>2011-10-12T11:23:13+00:00</updated>
<author>
<name>Guillaume Bourcier</name>
<email>guillaumebourcier@free.fr</email>
</author>
<published>2011-10-11T11:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=47f3da1cf49377c25772bb54d07db55225bbb142'/>
<id>47f3da1cf49377c25772bb54d07db55225bbb142</id>
<content type='text'>
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 &lt;guillaumebourcier@free.fr&gt;
Signed-off-by: Richard Braun &lt;rbraun@sceen.net&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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 &lt;guillaumebourcier@free.fr&gt;
Signed-off-by: Richard Braun &lt;rbraun@sceen.net&gt;
Signed-off-by: Carmelo Amoroso &lt;carmelo.amoroso@st.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>time.c, time.h: remove unused hidden strftime/strptime</title>
<updated>2011-03-10T10:34:38+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-03-10T10:34:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=24a14a0bb867f02ba87b498ee64e3ed6ce33b27a'/>
<id>24a14a0bb867f02ba87b498ee64e3ed6ce33b27a</id>
<content type='text'>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>time.c, wchar.h: remove unused hidden wcsftime</title>
<updated>2011-03-09T23:49:01+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-03-09T23:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=5ab9845ea03ba2c356e58617daeab6b306959380'/>
<id>5ab9845ea03ba2c356e58617daeab6b306959380</id>
<content type='text'>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>initialize 2 variables to get rid of compiler warning</title>
<updated>2011-03-03T17:22:50+00:00</updated>
<author>
<name>Peter S. Mazinger</name>
<email>ps.m@gmx.net</email>
</author>
<published>2011-02-26T21:13:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=370e40a5d94efb44d6b8adbca6fcaa1262793f0b'/>
<id>370e40a5d94efb44d6b8adbca6fcaa1262793f0b</id>
<content type='text'>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Peter S. Mazinger &lt;ps.m@gmx.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix ctime() standard compliance bug</title>
<updated>2010-07-27T11:10:15+00:00</updated>
<author>
<name>David A Ramos</name>
<email>daramos@gustav.stanford.edu</email>
</author>
<published>2010-07-27T11:10:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=85b7ea33088fa16d319adbd228fc152f5b9da730'/>
<id>85b7ea33088fa16d319adbd228fc152f5b9da730</id>
<content type='text'>
fixes issue2209:
ctime() was updated in 0.9.31 to call localtime_r() instead of
localtime() to
avoid using a static buffer. Unfortunately, this change replaces the
static
buffer (which is zeroed out on initialization) with an uninitialized
local
buffer.

In the common case, this has no effect. However, with a sufficiently
large
time_t value, the value returned differs from that returned by
asctime(localtime(t)), and thus violates the ANSI/ISO standard.

An example input is (on a 64-bit machine):
time_t t = 0x7ffffffffff6c600;

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
fixes issue2209:
ctime() was updated in 0.9.31 to call localtime_r() instead of
localtime() to
avoid using a static buffer. Unfortunately, this change replaces the
static
buffer (which is zeroed out on initialization) with an uninitialized
local
buffer.

In the common case, this has no effect. However, with a sufficiently
large
time_t value, the value returned differs from that returned by
asctime(localtime(t)), and thus violates the ANSI/ISO standard.

An example input is (on a 64-bit machine):
time_t t = 0x7ffffffffff6c600;

Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>time.c: fix unreadable code style: assignments within if(), misplaced comments</title>
<updated>2010-04-29T15:22:45+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-04-29T15:22:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=e769b83bc129210a25198c7de73272d8632923fa'/>
<id>e769b83bc129210a25198c7de73272d8632923fa</id>
<content type='text'>
No logic changes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No logic changes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>optional /etc/localtime support</title>
<updated>2010-04-29T15:17:18+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-04-29T15:17:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=87327f43e4ea65d63ceab0985cf814e22940579a'/>
<id>87327f43e4ea65d63ceab0985cf814e22940579a</id>
<content type='text'>
This patch teaches uclibc to use /etc/localtime.
This is possible since recent TZif2 file format contains
TZ-like ASCII string at the end.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch teaches uclibc to use /etc/localtime.
This is possible since recent TZif2 file format contains
TZ-like ASCII string at the end.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>prettify make clean</title>
<updated>2010-03-25T14:39:02+00:00</updated>
<author>
<name>Bernhard Reutner-Fischer</name>
<email>rep.dot.nop@gmail.com</email>
</author>
<published>2010-03-25T14:17:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=abdbaa897b3d7b5b72c8521a38aa84cada242837'/>
<id>abdbaa897b3d7b5b72c8521a38aa84cada242837</id>
<content type='text'>
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Bernhard Reutner-Fischer &lt;rep.dot.nop@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>remove two checks for gettimeofday error</title>
<updated>2010-02-02T22:09:16+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-02-02T22:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=1043d24e77f82d729996fe8192b078e567b16113'/>
<id>1043d24e77f82d729996fe8192b078e567b16113</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>ctime: do not use static struct tm buffer</title>
<updated>2010-01-09T20:58:50+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-01-09T20:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/uClibc-alpine/commit/?id=957e238614326198452b53498ae98e546fce7366'/>
<id>957e238614326198452b53498ae98e546fce7366</id>
<content type='text'>
    text           data     bss     dec     hex filename
-     19              0       0      19      13 libc/misc/time/ctime.o
+     25              0       0      25      19 libc/misc/time/ctime.o

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    text           data     bss     dec     hex filename
-     19              0       0      19      13 libc/misc/time/ctime.o
+     25              0       0      25      19 libc/misc/time/ctime.o

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
