Up to [local] / src / usr.bin / chpass
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: OPENBSD_4_5_BASE
Revision 1.10 / (download) - annotate - [select for diffs], Tue Dec 16 05:25:55 2008 UTC (15 years, 5 months ago) by guenther
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE,
OPENBSD_4_5
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)
strptime() never sets tm_isdst, so set it to -1 before passing the struct tm to mktime() so that the calculation will follow the local DST rules ok millert@ otto@