#
309571 |
|
05-Dec-2016 |
glebius |
Merge r307359 from stable/10:
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.
Errata Notice: EN-16:19.tzcode Submitted by: bapt Approved by: so
|
#
309571 |
|
05-Dec-2016 |
glebius |
Merge r307359 from stable/10:
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.
Errata Notice: EN-16:19.tzcode Submitted by: bapt Approved by: so |
#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
214411 |
|
27-Oct-2010 |
edwin |
Sync code with tzcode2010m
asctime.c: * Set errno to EINVAL and return "??? ??? ?? ??:??:?? ????\n" if asctime_r is called with a NULL struct tm pointer. (Note that asctime_r is called by ctime_r and asctime; asctime is called by ctime.)
localtime.c: * Set errno to EINVAL and return WRONG if time1 is called with a NULL struct tm pointer; avoid dereference if a NULL struct tm pointer is passed to timelocal, timegm, or timeoff. (Note that time1 is called by mktime, timegm, and timeoff; mktime is called by timelocal.) * more core-avoidance work * Change to set timezone and altzone based on time types with greatest transition times (for the benefit of Asia/Seoul).
zic.8: * Warning about case-sensitivity of names, but not of abbrevations
zic.c: * Conditionally output extra types with most-recently-use offsets last (for use by systems with pre-2011 versions of localtime.c, helping to ensure that globals "altzone and "timezone" get set correctly).
The code has been running for nearly four weeks on my laptop running FreeBSD 8.1 without a problem.
MFC after: 1 month
|
#
204302 |
|
25-Feb-2010 |
edwin |
Copy usr.sbin/zic to contrib/tzcode/zic for the proper split of contributed code and FreeBSD specific code.
|
#
196587 |
|
27-Aug-2009 |
edwin |
MFV of r195794
MFV of tzcode2009k
zic.c: Do not end a binary file with a POSIX-style time zone string for locations that end up in permanent DST (thanks to Andreas Schwab).
|
#
192625 |
|
23-May-2009 |
edwin |
MFV of tzcode2009e:
Upgrade of the tzcode from 2004a to 2009e.
Changes are numerous, but include...
- New format of the output of zic, which supports both 32 and 64 bit time_t formats.
- zdump on 64 bit platforms will actually produce some output instead of doing nothing for a looooooooong time.
- linux_base-fX, with X >= at least 8, will work without problems related to the local time again.
The original patch, based on the 2008e, has been running for a long time on both my laptop and desktop machine and have been tested by other people.
After the installation of this code and the running of zic(8), you need to run tzsetup(8) again to install the new datafile.
Approved by: wollman@ for usr.sbin/zic MFC after: 1 month
|
#
174210 |
|
03-Dec-2007 |
kevlo |
zic(8) should exit the loop when the end of the string is reached due to the call to error(). The problem found by doing fuzz testing.
MFC after: 3 days
|
#
136708 |
|
19-Oct-2004 |
ru |
Make the -m option actually work.
|
#
130819 |
|
20-Jun-2004 |
stefanf |
Merge changes from the tzcode2004a import.
|
#
111414 |
|
24-Feb-2003 |
mikeh |
Check whether setmode(3) fails and deallocate its return value after calling getmode(3).
Approved by: wollman MFC after: 1 week
|
#
79858 |
|
18-Jul-2001 |
dd |
Back out WARNS cleanup: this is apparently vendor code, even though most of the files aren't on the vendor branch.
Submitted by: wollman
|
#
79751 |
|
15-Jul-2001 |
dd |
Constify, add some prototypes, and set WARNS=2.
Submitted by: Mike Barcroft <mike@q9media.com>
|
#
69315 |
|
28-Nov-2000 |
charnier |
-Wall cleaning
|
#
50479 |
|
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
43774 |
|
08-Feb-1999 |
wollman |
Fix mismerged error message.
Submitted by: charnier
|
#
43006 |
|
21-Jan-1999 |
wollman |
I don't know how this happened since I know I compiled this on my machine. Fix braino oflag -> uflag (or perhaps I should have gone the other way).
|
#
42997 |
|
21-Jan-1999 |
wollman |
Merge changes from vendor branch (tzcode1999a), plus the following additional changes:
- Finish migrating zic to its own private.h. - Fix zic.8 so that it really is written in -mdoc. - Add four new flags to zic (&document): -D don't create directories -u change ownership of newly-created files to user -g change ownership of newly-created files to group -m change mode of newly-created files to modespec These, once proven, can be used to clean up the installation.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz (partially)
|
#
30829 |
|
29-Oct-1997 |
charnier |
Use err(3). Rewrote man page using mdoc format.
|
#
24428 |
|
31-Mar-1997 |
imp |
compare return value from getopt against -1 rather than EOF, per the final posix standard on the topic.
|
#
23859 |
|
13-Mar-1997 |
bde |
Remove old output file, if any, before creating the output file, in case the file is a stale link.
Reviewed by: wollman
|
#
17214 |
|
18-Jul-1996 |
wollman |
Merge from vendor branch. We are now completely up-to-date with respect to the ADO timezone code.
|
#
9937 |
|
05-Aug-1995 |
wollman |
Update timezone compiler and dumper to understand the new EC rules.
|
#
2706 |
|
13-Sep-1994 |
wollman |
FreeBSD port of timezone code.
|
#
2703 |
|
13-Sep-1994 |
wollman |
This commit was generated by cvs2svn to compensate for changes in r2702, which included commits to RCS files with non-trunk default branches.
|
#
2702 |
|
13-Sep-1994 |
wollman |
The latest and greatest timezone code from Arthur David Olson, part 1. This import comprises the `zic' and `zdump' programs.
Obtained from: Arthur David Olson, ftp://elsie.nci.nih.gov/pub/tzcode94g
|