This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PING^3] RFC [PATCH] BZ#1077902: New API gettimezone
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Paul Eggert <eggert at cs dot ucla dot edu>
- Cc: P J P <pj dot pandit at yahoo dot co dot in>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Wed, 28 May 2014 10:57:26 +0200
- Subject: Re: [PING^3] RFC [PATCH] BZ#1077902: New API gettimezone
- Authentication-results: sourceware.org; auth=none
- References: <5361F22E dot 3070206 at redhat dot com> <53628A02 dot 9080702 at cs dot ucla dot edu> <53629388 dot 1060301 at redhat dot com> <53630B0C dot 1050305 at cs dot ucla dot edu> <53633A37 dot 7060405 at redhat dot com> <5363E223 dot 7060303 at cs dot ucla dot edu> <1399061963 dot 56150 dot YahooMailNeo at web192404 dot mail dot sg3 dot yahoo dot com> <1401211363 dot 50264 dot YahooMailNeo at web192402 dot mail dot sg3 dot yahoo dot com> <20140527180827 dot GA25042 at domone dot podge> <538533EB dot 3000501 at cs dot ucla dot edu>
On Tue, May 27, 2014 at 05:55:07PM -0700, Paul Eggert wrote:
> OndÅej BÃlka wrote:
> >localtime_rz is preferable
>
> I assume you meant NetBSD's localtime_rz? It'd be reasonable to add
> that to glibc, or something like it (in glibc it may need a locale
> argument as well). However, localtime_rz has quite a different API
> from what was in your email, so I didn't understand your suggestion.
>
> http://netbsd.gw.com/cgi-bin/man-cgi?localtime_rz
No its same api. You just define timezone_t as char * so you do not have
to implement anything difficult.