[uClibc]tm_zone & tm_gmtoff problem

Manuel Novoa III mjn3 at codepoet.org
Tue Jul 16 22:33:09 UTC 2002


Hello,

On Wed, Jul 17, 2002 at 04:55:49AM -0700, Pham Huy Vu wrote:
> When I use uclibc-0.9.11 to port php/apache, it work correctly
> But when I upgrate to 0.9.12, I have a problem when make php
>  
> ./ext/standard/datetime.c
> - structure tm have no tm_zone/tm_gmtoff fields

The time implementation in 0.9.11 was broken/deficient in a number
of ways.  When I wrote the new implementation, I chose not to support
the tm_zone/tm_gmtoff extension fields since they aren't ANSI/SUSv3
and I didn't need them.

> Althought when I configure it create 2 lines below in config.h 
> #define HAVE_TM_ZOME     1
> #define HAVE_TM_GMTOFF 1

Perhaps this is due to uClibc lying about being glibc in the headers.

> Does have any problem in uclibc-0.9.12 at supporting locale ?

Not quite sure what you are asking.  I've done some work on locale
support but it is mainly proof of concept at this point.

Manuel







More information about the uClibc mailing list