Commit Graph

18 Commits

Author SHA1 Message Date
christos
e6c0663544 Eliminate non-literal format strings, and now that gcc warns, kill y2k format
warning.
2011-08-17 13:48:11 +00:00
lukem
84a2852424 Fix -Wcast-qual issue 2009-04-14 07:41:36 +00:00
kim
2bb4a74034 Line up "days" style output in the IDLE field. 2005-01-08 05:04:34 +00:00
christos
6b2a6f8a02 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.
2004-11-19 13:17:06 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
enami
b579228888 Fix whitespace usage. 2002-10-21 10:18:23 +00:00
mjl
3d418a4a73 ANSIfy. 2001-01-05 04:59:21 +00:00
cgd
2af1e46eab __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.
2000-12-20 01:17:49 +00:00
is
135600f947 More format string cleanup by sommerfeld. 2000-10-11 14:46:00 +00:00
kleink
b17e4cc794 Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 11:34:23 +00:00
lukem
831bc1ae96 minor WARNS for i386 1997-10-20 03:08:44 +00:00
mrg
615373621d WARNSify; deprecate register; clean up .Nm 1997-10-20 02:49:14 +00:00
mrg
8d51c2f90d properly terminal buffer after calling strftime. 1997-04-13 13:44:13 +00:00
mikel
f9a7d704f1 preserve data from localtime() buffer before reuse.
PRs bin/2889 and bin/2906, with some improvement by me.
1996-11-14 07:34:46 +00:00
thorpej
93f0bfac6d Grok local timezone when determining "today".
From Tatoku Ogaito <tacha@tera.fukui-med.ac.jp>, PR #2534.
1996-09-27 03:32:07 +00:00
thorpej
8baabb16e5 RCS id police. 1996-06-07 01:39:10 +00:00
mrg
0272dd3aaf print 1day not 1days. pr#2259 1996-05-21 13:21:07 +00:00
cgd
f7329f6875 new w, to match libkvm 1994-05-09 03:32:48 +00:00