[PATCH] optional /etc/localtime support

Austin Foxley austinf at cetoncorp.com
Wed Apr 28 22:44:01 UTC 2010


On 04/28/2010 11:24 AM, Denys Vlasenko wrote:
> Hi.
> 
> Lengthly debugging of mysterious
> "Superblock last mount time is in the future" problem
> finally uncovered a problem with mixed glibc/uclibc
> environment in a distro installer.
> 
> Teaching installer to maintain /etc/localtime
> AND /etc/TZ would be impractical. More likely they
> just drop uclibc instead. We don't want that, right? ;)
> 
> This patch teaches uclibc to use /etc/localtime.
> This is possible since recent TZif2 file format contains
> TZ-like ASCII string at the end.
> 
> 1.patch contains optional /etc/localtime support.
> Run-tested.
> 
> 2.patch is just a code readability massage on top of it.
> 
> Please review.

This looks good to me.

-Austin


More information about the uClibc mailing list