lukem
4538623f7e
Fix WARNS=4 issues (-Wshadow -Wcast-qual -Wsign-compare)
2009-04-13 04:35:36 +00:00
christos
7d2ef9d984
From Anon Ymous:
...
Convert "(void)&" constructs to "volatile".
Check gid against (gid_t)-1 rather than >= 0; gid_t is unsigned.
Flag some parameters __unused so this will compile with -Werror.
2006-12-18 15:14:42 +00:00
mrg
4bc6feceb6
end the argument list to exec*(3) with a NULL instead of a bare '0', as
...
the latter isn't a pointer context in these varargs functions.
2006-05-11 00:22:52 +00:00
mycroft
0428b497d9
Patch from Olaf Siebert in PR 12688 to handle hard links correctly when
...
renaming.
2004-08-06 15:50:02 +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
e97c220e91
use bounded string op
2003-07-23 04:11:12 +00:00
simonb
276fd1665c
The Double-Semi-Colon Police.
2003-01-20 05:29:53 +00:00
thorpej
f393397bd6
Avoid confict with reserved identifier "log".
2002-12-06 03:09:28 +00:00
wiz
a9b4ca6205
Remove #if __STDC__. De-__P() and ANSIfy.
2002-06-14 01:18:54 +00:00
wiz
4c99916337
va_{start,end} audit:
...
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).
Improved by comments from enami and christos -- thanks!
Heimdal/krb4/KAME changes already fed back, rest to follow.
Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
wiz
251b3464be
heirarchy -> hierarchy
2001-08-24 10:24:45 +00:00
lukem
c2b84904ae
use %ll_ instead of the less standard %q_
2001-01-04 23:05:54 +00:00
is
135600f947
More format string cleanup by sommerfeld.
2000-10-11 14:46:00 +00:00
mrg
c08b0cf381
check some more syscall return values. use mkstemp.
1999-04-20 07:53:02 +00:00
christos
7b232cdf19
char -> unsigned char
1998-12-19 20:34:53 +00:00
christos
b751ad2c5c
de-ja-vous
...
This thing was still using <sys/dir.h> and struct direct.
Get rid of the time warp.
1998-12-19 20:32:17 +00:00
mrg
538e692995
fix compile warnings on the alpha.
1997-10-19 14:50:58 +00:00
mycroft
985cca83b6
Use S_IS*().
...
Use mode_t, uid_t, and gid_t as appropriate.
Don't use futimes(2) on a directory.
1997-10-19 14:25:24 +00:00
lukem
3b3cf635da
WARNSify, fix .Nm usage, deprecate register, s/[br]*/[ms]*/
1997-10-19 13:58:48 +00:00
mrg
0026c9e93a
merge lite-2.
1997-10-18 14:34:39 +00:00
thorpej
3aab4f7d4f
RCS id police.
1996-07-12 00:46:18 +00:00
thorpej
cf0afdf885
From Christos: kill the last bits of sprintf(), and use regcomp/regexec
...
rather than re_comp/re_exec. (I committed my sprintf sweep-up before
I realized that Christos had already done it...)
1996-07-12 00:38:50 +00:00
thorpej
336eeb5f1c
Use snprintf() whenever feasible.
1996-07-12 00:06:32 +00:00
mrg
bd664fdbdb
in recvf() initialise the fd to -1 so that we can not close it later
...
if it was never used (for e.g., with symlinks). pr#1822.
1996-05-21 12:11:54 +00:00
cgd
b47c1a949c
kill some now-unnecessary casts.
1994-03-27 22:07:31 +00:00
cgd
377bda3e78
cast so size/mtime doesn't get hosed
1994-03-13 13:33:28 +00:00
cgd
a5bfdf7812
update to newest rdist from berkeley (via uunet). No security fixes, but
...
general cleanup.
1994-03-07 05:05:16 +00:00
jtc
46d81d5d45
Use <dirent.h> instead of <sys/dir.h>.
1993-12-04 02:11:23 +00:00
cgd
8b2f878d38
get rid of some (bad) setreuid() calls, which caused a security problem.
...
bug fix from Rick J Weldon <rick@badboy-jr.hq.af.mil>, and also confirmed
by looking at the latest rdist sources.
1993-10-09 01:11:39 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
mrg
bfbb5d82d8
4.4BSD-Lite2
1993-06-10 05:50:01 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00