This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: First draft of the Y2038 design document
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>
- Cc: Paul Eggert <eggert at cs dot ucla dot edu>, Rich Felker <dalias at libc dot org>, GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 28 Oct 2015 12:34:48 +0000
- Subject: Re: First draft of the Y2038 design document
- Authentication-results: sourceware.org; auth=none
- References: <20151026001252 dot 590e09c1 dot albert dot aribaud at 3adev dot fr> <562EEE05 dot 1080304 at cs dot ucla dot edu> <20151027034324 dot GW8645 at brightrain dot aerifal dot cx> <562F3C6E dot 30905 at cs dot ucla dot edu> <20151027141026 dot GX8645 at brightrain dot aerifal dot cx> <562FE305 dot 7090004 at cs dot ucla dot edu> <20151027205654 dot GY8645 at brightrain dot aerifal dot cx> <562FE594 dot 1050601 at cs dot ucla dot edu> <20151027214243 dot GA8645 at brightrain dot aerifal dot cx> <562FF8AC dot 90206 at cs dot ucla dot edu> <20151027224217 dot GC8645 at brightrain dot aerifal dot cx> <56300020 dot 6090001 at cs dot ucla dot edu> <5630A213 dot 1070304 at arm dot com>
On Wed, 28 Oct 2015, Szabolcs Nagy wrote:
> > This seems to be veering into a different area, where perhaps there is a
> > glibc bug (presumably which can be
> > illustrated by using only POSIX-specified TZ values), but that's a different
> > matter.
> >
>
> if one thread changes TZ=GMT0 to TZ=GMT-1 while
> another concurrently calls gmtime_r, then glibc
> introduces a data race when it calls getenv("TZ").
Is there a bug for this in Bugzilla? If you find a bug and aren't working
on fixing it, you should file it in Bugzilla.
--
Joseph S. Myers
joseph@codesourcery.com