FW: environment independent time functions...
christos at zoulas.com
Thu Oct 14 00:40:18 UTC 2010
On Oct 1, 10:53am, christos at zoulas.com (Christos Zoulas) wrote:
-- Subject: Re: FW: environment independent time functions...
| On Oct 1, 9:29am, abbotti at mev.co.uk (Ian Abbott) wrote:
| -- Subject: Re: FW: environment independent time functions...
| | > Has anyone done this work or similar?
| | There are some functions and data structures in the latest stable GNOME
| | GLib library (GLib 2.26) for handling time zones and time conversions:
| | http://library.gnome.org/devel/glib/unstable/glib-GTimeZone.html
| I apologize if I did not make myself clear in the previous message.
| My goal was not to re-think and redesign the posix time interfaces,
| but to make reentrant and thread-safe in an orthogonal manner,
| minimizing code changes and re-using as much code as possible.
| Also I wanted to make things fail on unknown timezones on the new
| interfaces, not fall back to GMT. Here's my current diff. Most of
| it has to do with ansifying, removing register, and making timezone_t
| the first argument for orthogonality. Comments are welcome.
| [the ifdef HIDE stuff should be removed; I just have it here so I can
| use the new functions without collisions with libc]
Anything else I should be doing to the api? Do you like the names?
If this is going to be accepted, I will add the documentation...
More information about the tz