Commit Graph

21 Commits

Author SHA1 Message Date
plunky 9f61b80465 NULL does not need a cast 2011-08-31 16:24:54 +00:00
christos 8663e57614 fix dev_t format 2008-12-29 00:53:43 +00:00
apb 2eed134b40 De-__P(), remove trailing spaces, sprinkle a few const, WARNS=4. 2006-10-11 19:51:10 +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
itojun 28f506f3a2 strlcpy 2003-07-12 13:57:49 +00:00
provos 32b88027c7 use readlink with bufsize - 1; approved thorpej. 2002-10-19 20:33:17 +00:00
christos 5af793e752 Use LOGIN_NAME_MAX instead of UT_NAMELEN
delete include of utmp.h
2002-08-01 22:41:34 +00:00
lukem c2b84904ae use %ll_ instead of the less standard %q_ 2001-01-04 23:05:54 +00:00
christos a3cf33f0fd make printf format more conservative 1998-11-06 23:21:38 +00:00
simonb 1f00456a27 For -ls output, change field widths to allow inodes up to 9,999,999 and
file sizes up to 999,999,999 bytes (and 999,999 blocks) without wobbly
lines.  Also change device minor/major to be 3/5 digits (current maximum
is 4/7 digits - the 3/5 split is arbitary).
1998-10-27 04:53:03 +00:00
wsanchez 3376e86cab include stdlib 1998-10-14 00:50:59 +00:00
thorpej b936691cf7 Cast off_t to long long for printing with %qd. 1998-03-03 02:22:40 +00:00
lukem 403b699b0b fix .Nm usage, deprecate register, mostly WARNSify (needs minor rewrite to fix) 1997-10-19 11:52:12 +00:00
jtc b70081bba0 Changed format directive for printing number of blocks from %4ld to
%4qd as the st_blocks field is a int64_t.  Fixes PR 3814.
1997-06-30 21:26:57 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
cgd 0c876871bd kill some unnecessary casts and decls 1994-12-24 16:30:51 +00:00
cgd 0fa009a916 off_t exp. 1994-03-27 09:01:41 +00:00
jtc 201bc757f6 st_blocks & st_size aren't quads (at least not yet). 1994-01-06 23:13:13 +00:00
jtc 3dfa59ec4a Merged our bugfixes with the 4.4BSD find from uunet. 1993-12-30 21:15:18 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00