Commit Graph

56 Commits

Author SHA1 Message Date
grant
be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
wiz
a9b4ca6205 Remove #if __STDC__. De-__P() and ANSIfy. 2002-06-14 01:18:54 +00:00
ross
2a76afae02 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:36:18 +00:00
ross
8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
wiz
fd16df7001 Sort SEE ALSO, sort sections, punctuation nit. 2001-12-08 19:11:21 +00:00
tron
d40605c723 Fix incorrect usage message. Problem noted by Brian Ginsbach in
PR bin/14411.
2001-11-01 16:31:48 +00:00
tron
8370dbf86f Add missing description of option "-D". 2001-11-01 16:30:40 +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
matt
fcd0fb118f Make gcc 2.96 (and maybe earlier) happier. Include <stdlib.h>,<string.>,
etc. as appropriate to get exit,srncmp,abs,abort,etc.
Add -I${.CURDIR} to a few Makefiles
2000-07-03 02:51:12 +00:00
mrg
de9e599c9d apply patches in PR bin/9249: rdist doesn't remove temporary file, from
<Michael.Eriksson@era-t.ericsson.se> to ensure we always remove the tempfile
(broken since mkstemp() was introduced).
2000-06-12 04:43:11 +00:00
mrg
c08b0cf381 check some more syscall return values. use mkstemp. 1999-04-20 07:53:02 +00:00
garbled
9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
hubertf
56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
mrg
9b99e47cfd ensure buffers for pathnames, etc., are PATH_MAX, etc., long. 1999-01-31 10:02:25 +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
ross
f670fa10c5 Add { and } to shut up egcs. Reformat the more questionable code. 1998-08-25 20:59:36 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
kleink
44ec7efeab Include <time.h>, needed for various definitions. 1998-04-02 10:51:46 +00:00
scottr
91b6282f36 Fix more borken compiler lossage, this time for m68k. 1997-10-24 06:47:31 +00:00
mycroft
004f255040 Use S_IS*(), not S_IF*. 1997-10-19 19:27:40 +00:00
mrg
538e692995 fix compile warnings on the alpha. 1997-10-19 14:50:58 +00:00
mycroft
b5d6394251 Output the right file name in an error message.
Also a cosmetic change; pass a null pointer to gettimeofday() for the
time zone info.
1997-10-19 14:34:07 +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
christos
2cb3df576d Pr/4180: Erik Bertelsen: rdist does not produce intelligible error messages
and core dumps when the remote host is down:
	- avoid core dumps by checking lfp before using it.
	- use rcmd's err descriptor to grab and print the message.
1997-10-08 19:16:24 +00:00
christos
b1179df85c Don't need -I${.CURDIR} 1997-10-08 19:13:39 +00:00
mrg
bf96b282ae rdist is no longer setuid root. 1997-05-26 14:30:47 +00:00
pk
b55c3729fe NULL => 0 (Arne Juul; PR#3629) 1997-05-17 20:09:26 +00:00
thorpej
65f3b15dc2 When iterating the host list, do not access memory that has just been
free()'d.  From Matt Beal <beal@umiacs.umd.edu>, PR #2747.
1996-09-10 18:48:57 +00:00
explorer
d54b3d99f1 call regfree() -- closes pr bin/2691.
Bug noticed and fixed by Charles Amos <amos@umiacs.umd.edu>
Submitted by Mike Grupenhoff
1996-08-13 03:24:18 +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
035fd3978c re-fix spelling errors. going to kick them back to bostic... 1994-03-07 05:07:19 +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
cgd
d0ffbae00c mixing setreuid and seteuid can really screw you, in terms of security 1994-01-23 06:31:35 +00:00
jtc
2c7d5d92c9 Fix spelling errors. 1994-01-11 18:22:48 +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
cgd
cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft
c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00