Commit Graph

31 Commits

Author SHA1 Message Date
des
84dfbe4ad5 Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits.
Sponsored by:	DARPA, NAI Labs
2002-05-08 00:47:01 +00:00
imp
50014e3541 o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
  they already are.
2002-02-02 06:48:10 +00:00
pirzyk
c8969dd00c Fixed two bugs, first not allowing '.' as a valid login name character
in okname() in util.c and second, returning != 0 when you do have an
error from okname in two places in rcp.c.

Thanks to Garrett for the POSIX defintion of valid login and group names.

PR:		bin/25757
MFC after:	3 weeks
2001-05-30 16:19:13 +00:00
imp
8c99d1db67 Use PATH_MAX instead of MAXPATHLEN.
Also use sizeof(path) in preference to PATH_MAX.
2001-05-30 03:33:32 +00:00
kris
b6da0fca77 -Wnon-const-format sweep: make format strings const char *'s, add
__printflike()/__printf0like() to function prototypes, as appropriate.

Reviewed by:	bde, -audit
2001-04-17 07:46:38 +00:00
markm
7f1f2ce659 Use libcrypto inst=ead if libdes. 2000-02-24 21:21:15 +00:00
markm
323c69d480 Fix for new Kerberos4. 1999-09-19 22:11:15 +00:00
peter
66312e4a8d $Id$ -> $FreeBSD$ 1999-08-27 23:15:48 +00:00
bde
301e8ec7e2 Improved error handling in rev.1.18: don't ignore failure of execve().
Fixed some style bugs in rev.1.18.
1999-07-04 15:42:04 +00:00
dt
6ec46c7bd7 Quick fix to allow transfer files >2GB. 1999-04-25 10:36:00 +00:00
markm
79f5d6d3cc Add JKH's auth.conf-file parser to turn Kerberos on/off in userland. 1998-10-09 06:31:45 +00:00
bde
f2d2a0561a Fixed printf format errors (time_t is not necessarily long). 1998-08-02 14:25:24 +00:00
charnier
73aa050493 Correct use of .Nm. Add rcsid. 1998-05-18 06:40:56 +00:00
markm
60d2342347 KTH announced a weakness in their implementation of KerberosIV.
FreeBSD was not vulnerable, but their fix had some useful features.
Incorporate the best of those - rcp(1) no longer needs to be SUID
to root.
1998-03-26 18:15:00 +00:00
wosch
866d716611 Add -P option to cp(1) for local to local copying.
Pointed out by: bde
1997-12-08 21:02:36 +00:00
wosch
df69c965c1 Use cp -R' instead cp -r' for local to local coping
(e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details.
1997-12-07 20:49:39 +00:00
markm
6bef2b9623 Change to use the new KTH Kerberos.
Also make -Wall a bit quieter.
1997-09-28 08:32:59 +00:00
charnier
ae739990eb Correct usage string. Man page don't reflect reality for now. 1997-06-06 06:43:19 +00:00
joerg
9904a8c9de Ensure string termination after strncpy().
PR:		2997
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-05-09 16:00:35 +00:00
imp
054f35c222 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-28 15:24:41 +00:00
peter
83b3c2c161 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
steve
c5d0f9cb39 -Wall cleaning. 1996-12-14 06:08:03 +00:00
nate
754710fca5 ts_sec -> tv_sec
ts_nsec -> tv_nsec
1996-09-20 04:45:59 +00:00
markm
532cda9998 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
pst
e68ac78c73 Close bin/937 - handle negative timestamps 1996-02-08 21:06:40 +00:00
markm
acf48f4555 Updating /usr/include/kerberosIV/des.h so eBones will build breaks
rcp and rlogin.
(patch supplied)

Submitted by:  John Capo <jc@irbs.com>
1995-09-10 14:59:51 +00:00
rgrimes
1888033949 Remove trailing whitespace.
Reviewed by:	phk
1995-05-30 00:07:29 +00:00
joerg
c6030c6511 You will find enclosed some changes to make gcc -Wall more happy in
/usr/src/bin. Note that some patches are still needed in that directory.

I (Joerg) finished most of Philippe's cleanup.  /bin/sh will still
need *allot* of work, however.

Submitted by:	charnier@lirmm.fr (Philippe Charnier)
1995-03-19 13:29:28 +00:00
dg
8722740e7f Added $Id$ 1994-09-24 02:59:15 +00:00
rgrimes
e3cfc8ce61 BSD 4.4 Lite bin Sources 1994-05-26 06:18:55 +00:00