Commit Graph

21 Commits

Author SHA1 Message Date
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
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
scottr 91b6282f36 Fix more borken compiler lossage, this time for m68k. 1997-10-24 06:47:31 +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
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
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 46d81d5d45 Use <dirent.h> instead of <sys/dir.h>. 1993-12-04 02:11:23 +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
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