History log of /openbsd-current/usr.sbin/zdump/zdump.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.14 15-Mar-2016 millert

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.
OK deraadt@ mestre@


# 1.13 14-Mar-2016 mestre

zdump(8) needs to read files so it needs pledge(2) rpath promise

After discussion with tb@, deraadt@ and millert@, this was also OK'ed by them


Revision tags: OPENBSD_5_9_BASE
# 1.12 11-Nov-2015 deraadt

exit() after perror() for pledge failure. Perhaps this got introduced
as a test idiom, either when pledge was young or during the transition
to strings.... dunno


# 1.11 12-Oct-2015 deraadt

pledge() "stdio" includes trusting open&read of the root-owned timezone
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


Revision tags: OPENBSD_5_8_BASE
# 1.10 23-Apr-2015 deraadt

KNF and other style adjustments to make this more scrutible.
reviewed by millert


Revision tags: OPENBSD_5_7_BASE
# 1.9 10-Feb-2015 deraadt

pounce on a reallocarray opportunity before tedu


# 1.8 09-Feb-2015 tedu

exit() cleanup. don't have to call it in a loop.
usage() always takes the same stream and status arguments (despite a
comment indicating perhaps it shouldn't), so make it void


# 1.7 09-Feb-2015 tedu

remove support for floating or unsigned time_t. leave the incorrect comment
** time_t is signed. Assume overflow wraps around.
as a warning for future generations.


# 1.6 09-Feb-2015 tedu

uncast


# 1.5 09-Feb-2015 tedu

remove INITIALIZE macro and do it the hard way.


# 1.4 09-Feb-2015 tedu

unifdef have gettext. don't have it, won't have it.


# 1.3 09-Feb-2015 tedu

deregister


# 1.2 09-Feb-2015 tedu

sort | uniq includes, and use <> instead of quotes


# 1.1 09-Feb-2015 tedu

move zic and zdump source to appropriate directories