This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/11478] __tzset_parse_tz doesn't conform to POSIX


------- Additional Comments From suzuki at in dot ibm dot com  2010-04-08 12:42 -------
You are right. POSIX doesn't say it can be any character. It clearly says it
should be alphanumeric  in < > or alphabetic. It is the SUSv3 which says it can
be any character.

[ snip ]

Where:

std and dst

    Indicates no less than three, nor more than {TZNAME_MAX}, bytes that are the
designation for the standard ( std ) or the alternative ( dst - such as Daylight
Savings Time) timezone. Only std is required; if dst is missing, then the
alternative time does not apply in this locale. Upper- and lower-case letters
are explicitly allowed. Any graphic characters except a leading colon (:) or
digits, the comma (,), the minus (-), the plus (+), and the null character are
permitted to appear in these fields, but their meaning is unspecified. 


-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]