Home | History | Annotate | Download | only in w
History log of /src/usr.bin/w/pr_time.c
RevisionDateAuthorComments
 1.19  17-Apr-2021  maya Remove SCCS workarounds. No binary change.
 1.18  17-Aug-2011  christos Eliminate non-literal format strings, and now that gcc warns, kill y2k format
warning.
 1.17  14-Apr-2009  lukem Fix -Wcast-qual issue
 1.16  08-Jan-2005  kim branches: 1.16.36;
Line up "days" style output in the IDLE field.
 1.15  19-Nov-2004  christos Be a bit more careful with errors; if you cannot find the pty to stat for
time, then report ? instead of the previous random contents of struct stat.
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.13  21-Oct-2002  enami Fix whitespace usage.
 1.12  05-Jan-2001  mjl branches: 1.12.2;
ANSIfy.
 1.11  20-Dec-2000  cgd __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("foo","bar");
actually works to concantate strings, it's because the preprocessor expands
it into "foo""bar" as separate strings, and then ANSI string concatenation
is performed on that. It's more straightforward to just use ANSI string
concatenation directly, and newer GCCs complain (rightly) about misuse
of token pasting.
 1.10  11-Oct-2000  is More format string cleanup by sommerfeld.
 1.9  02-Apr-1998  kleink branches: 1.9.2; 1.9.10;
Need <time.h> for localtime() and strftime() prototypes.
 1.8  20-Oct-1997  lukem minor WARNS for i386
 1.7  20-Oct-1997  mrg WARNSify; deprecate register; clean up .Nm
 1.6  13-Apr-1997  mrg properly terminal buffer after calling strftime.
 1.5  14-Nov-1996  mikel preserve data from localtime() buffer before reuse.
PRs bin/2889 and bin/2906, with some improvement by me.
 1.4  27-Sep-1996  thorpej Grok local timezone when determining "today".
From Tatoku Ogaito <tacha@tera.fukui-med.ac.jp>, PR #2534.
 1.3  07-Jun-1996  thorpej RCS id police.
 1.2  21-May-1996  mrg branches: 1.2.2;
print 1day not 1days. pr#2259
 1.1  09-May-1994  cgd branches: 1.1.1;
Initial revision
 1.1.1.1  09-May-1994  cgd new w, to match libkvm
 1.2.2.1  07-Jun-1996  thorpej Discard setgid privileges if not reading the running kernel, as suggested
by Mike Grupenhoff <kashmir@umiacs.umd.edu> in PR #2485.

Also, RCS id police.
 1.9.10.1  18-Oct-2000  tv Pullup usr.bin string format fixes [is].
See "cvs log" for explicit revision numbers per file, from sommerfeld.
 1.9.2.1  19-Oct-2000  he Pull up revision 1.10 (requested by he):
Format string cleanup.
 1.12.2.1  12-Nov-2002  nathanw Catch up to -current.
 1.16.36.1  13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html

RSS XML Feed