Commit Graph

62 Commits

Author SHA1 Message Date
Edwin Groothuis
1f72185627 MFV of r198828, tzcode2009q
- Cleanup unnecessary local variables in zdump.
- Fix man-page

MFC after:	1 week
2009-11-02 23:02:11 +00:00
Edwin Groothuis
5e2791f090 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).
2009-08-27 12:36:15 +00:00
Edwin Groothuis
84b2ce0d42 MFV of tzcode2009h revision r192887
- Clarify the license for the tzcode: public domain

MFC after:	1 month
2009-05-27 12:18:39 +00:00
Edwin Groothuis
dfc79e892f 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
2009-05-23 06:31:50 +00:00
Giorgos Keramidas
92bf2d2561 Finish a few more .Dl "quoted" arguments missed in revision 184984 2008-11-15 06:41:57 +00:00
Giorgos Keramidas
6636509127 Add missing quotes to .Dl arguments.
This is harmless for the mandoc output, but it makes syntax highlighting of
the .Dl argument string a bit prettier in Emacs.
2008-11-15 06:36:07 +00:00
Edwin Groothuis
5197bde3b8 Flatten the dist tree of vendor/tzcode 2008-09-27 11:30:00 +00:00
Ruslan Ermilov
b7498df286 getopt(3) returns -1, not EOF. 2008-02-19 07:09:19 +00:00
Kevin Lo
e8f7de4bed 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
2007-12-03 10:45:44 +00:00
Ruslan Ermilov
000723a6f8 Normalize MAN. 2006-10-18 12:35:24 +00:00
Ruslan Ermilov
36a142c455 Expand contractions. 2005-02-13 23:45:54 +00:00
Ruslan Ermilov
6a5796e734 Eliminate macro calls inside literal displays. 2005-01-15 12:28:01 +00:00
Ruslan Ermilov
a4270a4241 Make the -m option actually work. 2004-10-19 20:30:09 +00:00
Ruslan Ermilov
07bfccd71e Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
Stefan Farfeleder
5c3421939c Merge changes from the tzcode2004a import. 2004-06-20 21:41:11 +00:00
Stefan Farfeleder
4832a677bd Remove files no longer on the vendor branch. 2004-06-20 12:04:00 +00:00
Stefan Farfeleder
868ecbc445 This commit was generated by cvs2svn to compensate for changes in r130780,
which included commits to RCS files with non-trunk default branches.
2004-06-20 12:04:00 +00:00
Stefan Farfeleder
08ebef69b6 Import the rest of tzcode2004a, the bits needed for the timezone compiler.
Obtained from:	ftp://elsie.nci.nih.gov/pub/tzcode2004a.tar.gz
2004-06-20 11:52:51 +00:00
Stefan Farfeleder
ba4aadb6d5 This commit was generated by cvs2svn to compensate for changes in r130777,
which included commits to RCS files with non-trunk default branches.
2004-06-20 11:52:51 +00:00
David E. O'Brien
052238b16c style.Makefile(5) 2003-04-04 17:49:21 +00:00
Mike Heffner
fd1bfb8056 Check whether setmode(3) fails and deallocate its return value after
calling getmode(3).

Approved by: wollman
MFC after: 1 week
2003-02-24 05:56:36 +00:00
Philippe Charnier
490d5836b5 The .Nm utility 2002-07-14 14:47:15 +00:00
David E. O'Brien
90e655ea4e Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Dima Dorfman
89bbcfbbe5 Set wollman as the MAINTAINER and mention the vendor contact. Ideally
this entire subtree would be in src/contrib, but if that isn't going
to happen at least this has a chance of warning off unsuspecting
committers.

Approved by:	wollman
2001-07-18 11:30:46 +00:00
Dima Dorfman
b7ca471a22 Back out WARNS cleanup: this is apparently vendor code, even though
most of the files aren't on the vendor branch.

Submitted by:	wollman
2001-07-18 11:27:04 +00:00
Dima Dorfman
74a5ebbd66 Constify, add some prototypes, and set WARNS=2.
Submitted by:	Mike Barcroft <mike@q9media.com>
2001-07-15 06:20:45 +00:00
Ruslan Ermilov
345e52e742 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Ruslan Ermilov
c73e22c3d4 Set the default manual section for usr.sbin/ to 8. 2001-03-20 18:17:26 +00:00
Ruslan Ermilov
8b5c4af3ff Prepare for mdoc(7)NG. 2000-12-27 15:30:30 +00:00
Ruslan Ermilov
7a2650d625 mdoc(7) police: use canonical form of .Dd macro. 2000-12-11 15:57:16 +00:00
Philippe Charnier
0e94bdb19e -Wall cleaning 2000-11-28 18:18:56 +00:00
Ruslan Ermilov
e97407b4f2 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 20:10:44 +00:00
Philippe Charnier
b620c1f5d6 Typo
Add FreeBSD Id
2000-05-29 20:23:04 +00:00
Philippe Charnier
f73aae7e60 Spelling. Add missing .El. 2000-01-23 20:36:27 +00:00
Peter Wemm
97d92980a9 $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
Chris Costello
f437b38cf7 Fix a bunch of broken cross-references 1999-08-18 05:55:22 +00:00
Eivind Eklund
ec25fc174f Add a prototype to silence warnings. 1999-02-23 12:02:07 +00:00
Garrett Wollman
3b1b1d2276 Fix mismerged error message.
Submitted by:	charnier
1999-02-08 16:52:42 +00:00
Garrett Wollman
15d1bc9ece 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).
1999-01-21 21:09:56 +00:00
Garrett Wollman
5b7f6bf978 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)
1999-01-21 17:46:19 +00:00
Garrett Wollman
7765d84cde First stage in giving zic/zdump its own version of private.h so that they
are decoupled somewhat from libc/stdtime's version.
1999-01-21 17:33:32 +00:00
Garrett Wollman
32b2240b31 This commit was generated by cvs2svn to compensate for changes in r42994,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:33:32 +00:00
Garrett Wollman
7e3ce9032d Remove two files replaced with HTML by vendor. 1999-01-21 17:32:37 +00:00
Garrett Wollman
ace01ac29e Updated timezone compiler from Arthur Olson.
Obtained from: ftp://elsie.nci.nih.gov/pub/tzcode1999a.tar.gz
1999-01-21 17:31:43 +00:00
Garrett Wollman
948760979c This commit was generated by cvs2svn to compensate for changes in r42991,
which included commits to RCS files with non-trunk default branches.
1999-01-21 17:31:43 +00:00
Peter Hawkins
5051cf775a PR: docs/5986
Submitted by:	MITSUNAGA Noriaki mitchy@er.ams.eng.osaka-u.ac.jp
Replace use of obsolete .q groff macro with .Dq
1998-06-06 15:37:23 +00:00
Philippe Charnier
966fcf2944 Convert to mdoc. 1998-02-04 07:30:11 +00:00
Philippe Charnier
dd63f75f44 Use err(3). Rewrote man page using mdoc format. 1997-10-29 07:27:56 +00:00
Warner Losh
6c3f552a31 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
Bruce Evans
45d1562d43 Remove old output file, if any, before creating the output file, in
case the file is a stale link.

Reviewed by:	wollman
1997-03-13 18:56:18 +00:00