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 drepper at redhat dot com  2010-04-08 12:12 -------
(In reply to comment #3)
> The tzset() page points to the page for environment variables.
> 
> http://www.opengroup.org/onlinepubs/007908775/xsh/tzset.html ->
> 
> http://www.opengroup.org/onlinepubs/007908775/xbd/envvar.html

And?  The format is specified as

     std offset dst offset, rule

where std is either

  <[a-zA-Z0-9+-]{3,TZNAME_MAX}>

or

  [a-zA-Z]{3,TZNAME_MAX}

Nowhere a question mark is allowed.  That form is just invalid and the
implementation is correct to reject it.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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]