History log of /openbsd-current/usr.bin/w/pr_time.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.16 15-Mar-2015 millert

tzfile.h is an internal header that should never have been installed.
What's worse, the tzfile.h that gets installed is over 20 years old
and doesn't match the real tzfile.h in libc/time. This makes the
tree safe for /usr/include/tzfile.h removal. The TM_YEAR_BASE
define has been moved to time.h temporarily until its usage is
replaced by 1900 in the tree. Actual removal of tzfile.h is pending
a ports build. Based on a diff from deraadt@


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE
# 1.15 11-Nov-2013 deraadt

%lld for time_t even if division occurs


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE
# 1.14 27-Oct-2009 deraadt

rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide
any benefit, and do hurt the small install media
(the 33,000 line diff is essentially mechanical)
ok with the idea millert, ok dms


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.13 11-Apr-2005 deraadt

spacing


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.12 26-Nov-2003 millert

Minor cleanup. Remove gratuitous use of __CONCAT that was needed
to avoid SCCS braindamage. Also use ANSI function headers while
we are here. Based on a diff from espie@


Revision tags: OPENBSD_3_4_BASE
# 1.11 03-Jun-2003 millert

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999. Proofed by myself and Theo.


Revision tags: OPENBSD_3_3_BASE
# 1.10 13-Mar-2003 deraadt

a few more strlcpy


Revision tags: OPENBSD_2_3_BASE OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.9 16-Jan-1998 millert

Add rcsid tags.
If program has set argv[0] or argv[0][0] to NUL, print p->p_comm
instead. Based on patch from Paul Janzen <pjanzen@foatdi.harvard.edu>


Revision tags: OPENBSD_2_1_BASE OPENBSD_2_2_BASE
# 1.8 25-Mar-1997 deraadt

ensure strftime buf has NUL; yokota@freebsd


Revision tags: OPENBSD_2_0_BASE
# 1.7 13-Jul-1996 deraadt

handle >9 days


# 1.6 26-Jun-1996 deraadt

rcsid


# 1.5 17-Jun-1996 deraadt

count days


# 1.4 17-Jun-1996 deraadt

print days correct; also deal with today correctly, netbsd pr#2534, tacha@tera.fukui-med.ac.jp


# 1.3 24-May-1996 deraadt

fix a typo


# 1.2 19-May-1996 deraadt

do not print "1days" in idle field


# 1.1 18-Oct-1995 deraadt

branches: 1.1.1;
Initial revision