summaryrefslogtreecommitdiffstats
path: root/usr.sbin/zdump (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Usually, -width Fl (which is 10n) is too wide and hence ugly.schwarze2020-01-161-3/+3
| | | | Change several instances, most of them to the usual -width Ds.
* Don't warn about valid time zone abbreviations. POSIX through 2000millert2016-03-151-17/+9
| | | | | | | | | | 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. OK deraadt@ mestre@
* zdump(8) needs to read files so it needs pledge(2) rpath promisemestre2016-03-141-2/+2
| | | | After discussion with tb@, deraadt@ and millert@, this was also OK'ed by them
* exit() after perror() for pledge failure. Perhaps this got introducedderaadt2015-11-111-2/+4
| | | | | as a test idiom, either when pledge was young or during the transition to strings.... dunno
* pledge() "stdio" includes trusting open&read of the root-owned timezonederaadt2015-10-121-1/+4
| | | | | | | | databases located at system paths (a reasonable bar had to be chosen; in the future we can replace the interfaces, since this effort is identifying them and placing their paths in a visble place), so this program only needs "stdio" ok doug
* KNF and other style adjustments to make this more scrutible.deraadt2015-04-231-229/+127
| | | | reviewed by millert
* pounce on a reallocarray opportunity before teduderaadt2015-02-101-2/+2
|
* exit() cleanup. don't have to call it in a loop.tedu2015-02-091-10/+6
| | | | | usage() always takes the same stream and status arguments (despite a comment indicating perhaps it shouldn't), so make it void
* remove support for floating or unsigned time_t. leave the incorrect commenttedu2015-02-091-56/+16
| | | | | ** time_t is signed. Assume overflow wraps around. as a warning for future generations.
* uncasttedu2015-02-091-42/+40
|
* remove INITIALIZE macro and do it the hard way.tedu2015-02-091-29/+3
|
* unifdef have gettext. don't have it, won't have it.tedu2015-02-091-20/+1
|
* build with warningstedu2015-02-091-1/+3
|
* deregistertedu2015-02-091-32/+32
|
* sort | uniq includes, and use <> instead of quotestedu2015-02-091-9/+7
|
* move zic and zdump source to appropriate directoriestedu2015-02-093-2/+722
|
* does not need ialloc.c; millert@ okmickey2004-07-011-2/+1
|
* $OpenBSD$deraadt1997-09-211-1/+1
|
* initial import of NetBSD treederaadt1995-10-181-0/+8