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.

-- 
vda

Attachment: 1.patch
Description: Binary data

Attachment: 2.patch
Description: Binary data

_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to