]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r306852
authorbapt <bapt@FreeBSD.org>
Sat, 15 Oct 2016 12:37:57 +0000 (12:37 +0000)
committerbapt <bapt@FreeBSD.org>
Sat, 15 Oct 2016 12:37:57 +0000 (12:37 +0000)
commit4d9316c2157168fa0349cfa98a412077fd070554
treecc6af32227c78927d68948b76935f05466c61ae7
parent9c3b0e9e87bf0d4949870de01e3fb19aa1e324a6
MFC r306852

Incorporate a change from OpenBSD by millert@OpenBSD.org

Don't warn about valid time zone abbreviations.  POSIX
through 2000 says that an abbreviation cannot start with ':', and
cannot contain ',', '-', '+', NUL, or a digit.  POSIX from 2001
on changes this rule to say that an abbreviation can contain only
'-', '+', and alphanumeric characters from the portable character
set in the current locale.  To be portable to both sets of rules,
an abbreviation must therefore use only ASCII letters."  Adapted
from tzcode2015f.

This is needed to be able to update tzdata to a newer version
contrib/tzcode/zic/zdump.c
contrib/tzcode/zic/zic.c