]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r306852
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Oct 2016 12:38:21 +0000 (12:38 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 15 Oct 2016 12:38:21 +0000 (12:38 +0000)
commit727d9410c4333e920b750907008f3a198452d7f7
treeccda23e2539cfcfd43dde5cd26c3b1c5af6daea1
parent3500cd97d9482a733b77cf9510324472a488a0f5
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

git-svn-id: svn://svn.freebsd.org/base/stable/10@307359 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/tzcode/zic/zdump.c
contrib/tzcode/zic/zic.c