This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11478] New: __tzset_parse_tz doesn't conform to POSIX
- From: "suzuki at in dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 8 Apr 2010 11:39:34 -0000
- Subject: [Bug libc/11478] New: __tzset_parse_tz doesn't conform to POSIX
- Reply-to: sourceware-bugzilla at sourceware dot org
The __tzset_parse_tz fails to parse the valid string formats as described by POSIX.
This was introduced with the following commit.
http://sourceware.org/git/?p=glibc.git;a=commit;h=82780cbee540bc7e61de6eb165d0f3ec7aa9e549
$ cat tzset-minimal.c
#include <time.h>
extern char* tzname[];
main()
{
tzset();
printf ("std tzname is %s\n", *tzname[0]?tzname[0]:"NULL");
return 0;
}
$ TZ="A?BC0" ./tzset-minimal
std tzname is NULL
--
Summary: __tzset_parse_tz doesn't conform to POSIX
Product: glibc
Version: 2.9
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: suzuki at in dot ibm dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: all
GCC host triplet: all
GCC target triplet: all
http://sourceware.org/bugzilla/show_bug.cgi?id=11478
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.