[PATCH 2/2] newlib/libc/time/tzset_r.c(_tzset_unlocked_r): POSIX angle bracket <> support
Brian Inglis
Brian.Inglis@SystematicSW.ab.ca
Fri Feb 25 16:39:59 GMT 2022
define POSIX specified minimum TZ abbr size 3 TZNAME_MIN
use limits.h TZNAME_MAX, _POSIX_TZNAME_MAX, unistd.h sysconf(_SC_TZNAME_MAX)
issue error if no symbols defined (document fallback value in case required)
allow POSIX angle bracket < > quoted signed alphanumeric tz abbr e.g. <MESZ+0330>
allow POSIX unquoted alphabetic tz abbr e.g. MESZ
apply same changes for DST tz abbr
---
newlib/libc/time/tzset_r.c | 74 ++++++++++++++++++++++++++++++++------
1 file changed, 64 insertions(+), 10 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-newlib-libc-time-tzset_r.c-_tzset_unlocked_r-POSIX-a.patch
Type: text/x-patch
Size: 3449 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/newlib/attachments/20220225/21aded3c/attachment-0001.bin>
More information about the Newlib
mailing list