OpenBSD CVS

CVS log for src/usr.sbin/zdump/zdump.c


[BACK] Up to [local] / src / usr.sbin / zdump

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Tue Mar 15 19:50:48 2016 UTC (8 years, 2 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, HEAD
Changes since 1.13: +9 -17 lines
Diff to previous 1.13 (colored)

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@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Mar 14 15:29:29 2016 UTC (8 years, 2 months ago) by mestre
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

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 1.12 / (download) - annotate - [select for diffs], Wed Nov 11 02:52:46 2015 UTC (8 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.11: +4 -2 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Oct 12 01:40:09 2015 UTC (8 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +4 -1 lines
Diff to previous 1.10 (colored)

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 1.10 / (download) - annotate - [select for diffs], Thu Apr 23 05:26:33 2015 UTC (9 years, 1 month ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.9: +128 -230 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 10 22:44:29 2015 UTC (9 years, 3 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

pounce on a reallocarray opportunity before tedu

Revision 1.8 / (download) - annotate - [select for diffs], Mon Feb 9 23:14:32 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.7: +6 -10 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Mon Feb 9 22:49:10 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.6: +18 -58 lines
Diff to previous 1.6 (colored)

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.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Feb 9 15:02:30 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.5: +40 -42 lines
Diff to previous 1.5 (colored)

uncast

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 9 13:46:22 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.4: +3 -29 lines
Diff to previous 1.4 (colored)

remove INITIALIZE macro and do it the hard way.

Revision 1.4 / (download) - annotate - [select for diffs], Mon Feb 9 13:39:16 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.3: +1 -20 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Mon Feb 9 12:52:45 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.2: +32 -32 lines
Diff to previous 1.2 (colored)

deregister

Revision 1.2 / (download) - annotate - [select for diffs], Mon Feb 9 12:45:33 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.1: +7 -9 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 9 12:37:47 2015 UTC (9 years, 4 months ago) by tedu
Branch: MAIN

move zic and zdump source to appropriate directories

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.