Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | In the error handling path, don't call close(fd) if the error we're | cperciva | 2007-05-22 | 1 | -1/+2 |
| | | | | | | | | handling is that fd = open(foo) is -1. This bug is harmless since close(-1) just returns an error (which the code ignores). Found by: Coverity Prevent(tm) CID: 1503 (in userland test run) | ||||
* | Sync program's usage() with manpage's SYNOPSIS. | ru | 2005-02-09 | 1 | -2/+2 |
| | |||||
* | Remove the clause 3, per berkeley and mail from rwatson representing | imp | 2005-01-10 | 1 | -5/+1 |
| | | | | that nai was OK with all third clause removals. | ||||
* | Turn malloc+snprintf into asnprintf. | markm | 2003-10-14 | 1 | -14/+10 |
| | | | | Submitted by: David Hill <hill at phobia dot em ess> | ||||
* | Fix a bazillion warnings. This makes almost the whole of src/bin/* | markm | 2003-05-03 | 1 | -11/+13 |
| | | | | | | WARNS=6, std=c99 clean. Tested on: i386, alpha | ||||
* | Make count a size_t as that is what is compared against and how it is used. | obrien | 2003-05-02 | 1 | -1/+2 |
| | |||||
* | Quiet warnings about copyright[]. | obrien | 2003-05-01 | 1 | -2/+1 |
| | |||||
* | Dekerberise. The corresponding userland stuff has been dekerberised | markm | 2002-10-16 | 1 | -154/+5 |
| | | | | for ages, and no-one seems to have noticed. Viva PAM! | ||||
* | Clean up use of <stdarg.h> macros: always call va_end after va_start, | tjr | 2002-10-06 | 1 | -2/+6 |
| | | | | | | reset with a call to va_start before each use of the va_list. Obtained from: NetBSD | ||||
* | While removing a memory leak, rev 1.32 introduced a | charnier | 2002-10-06 | 1 | -16/+11 |
| | | | | | free-memory-and-reuse-it-after. Correct both problems and make rcp -r work again under /etc/malloc.conf -> AJ. | ||||
* | Use %jd in format string and cast argument to intmax_t instead of using | tjr | 2002-10-06 | 1 | -2/+3 |
| | | | | | | | %qd to print struct stat.st_size. Remove WARNS=0 and WFORMAT=0 from Makefile. Tested on: alpha, sparc64, i386 | ||||
* | IPv6 support for rcp. | ume | 2002-08-09 | 1 | -20/+36 |
| | | | | | | You cannot specify a raw IPv6 address for now. MFC after: 1 week | ||||
* | err() is documented as allowing NULL for the format string but GCC isn't | dillon | 2002-07-10 | 1 | -4/+4 |
| | | | | happy about it any more so change the usage to make buildworld work again. | ||||
* | Consistently use FBSDID | obrien | 2002-06-30 | 1 | -2/+2 |
| | |||||
* | Use size_t consistently and complete some uncompleted code resulting in a | jmallett | 2002-06-20 | 1 | -2/+5 |
| | | | | | | | memory leak by assigning and freeing a variable appropriately as well as keeping track of the amount of allocated ram properly. MFC after: 1 month | ||||
* | Use <paths.h> rather than "pathnames.h", and fix a couple of whitespace nits. | des | 2002-05-08 | 1 | -3/+10 |
| | | | | Sponsored by: DARPA, NAI Labs | ||||
* | o __P has been reoved | imp | 2002-02-02 | 1 | -56/+19 |
| | | | | | | | | | 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. | ||||
* | Fixed two bugs, first not allowing '.' as a valid login name character | pirzyk | 2001-05-30 | 1 | -2/+6 |
| | | | | | | | | | | 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 | ||||
* | Use PATH_MAX instead of MAXPATHLEN. | imp | 2001-05-30 | 1 | -3/+4 |
| | | | | Also use sizeof(path) in preference to PATH_MAX. | ||||
* | -Wnon-const-format sweep: make format strings const char *'s, add | kris | 2001-04-17 | 1 | -1/+2 |
| | | | | | | __printflike()/__printf0like() to function prototypes, as appropriate. Reviewed by: bde, -audit | ||||
* | Use libcrypto inst=ead if libdes. | markm | 2000-02-24 | 1 | -1/+1 |
| | |||||
* | Fix for new Kerberos4. | markm | 1999-09-19 | 1 | -0/+1 |
| | |||||
* | $Id$ -> $FreeBSD$ | peter | 1999-08-27 | 1 | -1/+1 |
| | |||||
* | Improved error handling in rev.1.18: don't ignore failure of execve(). | bde | 1999-07-04 | 1 | -5/+4 |
| | | | | Fixed some style bugs in rev.1.18. | ||||
* | Quick fix to allow transfer files >2GB. | dt | 1999-04-25 | 1 | -3/+3 |
| | |||||
* | Add JKH's auth.conf-file parser to turn Kerberos on/off in userland. | markm | 1998-10-09 | 1 | -1/+8 |
| | |||||
* | Fixed printf format errors (time_t is not necessarily long). | bde | 1998-08-02 | 1 | -3/+5 |
| | |||||
* | Correct use of .Nm. Add rcsid. | charnier | 1998-05-18 | 1 | -3/+5 |
| | |||||
* | KTH announced a weakness in their implementation of KerberosIV. | markm | 1998-03-26 | 1 | -11/+24 |
| | | | | | | 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. | ||||
* | Add -P option to cp(1) for local to local copying. | wosch | 1997-12-08 | 1 | -2/+2 |
| | | | | Pointed out by: bde | ||||
* | Use `cp -R' instead `cp -r' for local to local coping | wosch | 1997-12-07 | 1 | -2/+2 |
| | | | | (e.g.: rcp -r /tmp/1 /tmp/2). See the cp(1) manpage for more details. | ||||
* | Change to use the new KTH Kerberos. | markm | 1997-09-28 | 1 | -3/+3 |
| | | | | Also make -Wall a bit quieter. | ||||
* | Correct usage string. Man page don't reflect reality for now. | charnier | 1997-06-06 | 1 | -7/+8 |
| | |||||
* | Ensure string termination after strncpy(). | joerg | 1997-05-09 | 1 | -2/+3 |
| | | | | | PR: 2997 Submitted by: Philippe Charnier <charnier@xp11.frmug.org> | ||||
* | compare return value from getopt against -1 rather than EOF, per the final | imp | 1997-03-28 | 1 | -2/+2 |
| | | | | posix standard on the topic. | ||||
* | Revert $FreeBSD$ to $Id$ | peter | 1997-02-22 | 1 | -1/+1 |
| | |||||
* | Make the long-awaited change from $Id$ to $FreeBSD$ | jkh | 1997-01-14 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | -Wall cleaning. | steve | 1996-12-14 | 1 | -3/+3 |
| | |||||
* | ts_sec -> tv_sec | nate | 1996-09-20 | 1 | -3/+3 |
| | | | | ts_nsec -> tv_nsec | ||||
* | #include <kerberosIV/des.h> -> #include <des.h> | markm | 1996-02-11 | 1 | -2/+2 |
| | |||||
* | Close bin/937 - handle negative timestamps | pst | 1996-02-08 | 1 | -10/+9 |
| | |||||
* | Updating /usr/include/kerberosIV/des.h so eBones will build breaks | markm | 1995-09-10 | 1 | -1/+3 |
| | | | | | | | rcp and rlogin. (patch supplied) Submitted by: John Capo <jc@irbs.com> | ||||
* | Remove trailing whitespace. | rgrimes | 1995-05-30 | 1 | -8/+8 |
| | | | | Reviewed by: phk | ||||
* | You will find enclosed some changes to make gcc -Wall more happy in | joerg | 1995-03-19 | 1 | -5/+5 |
| | | | | | | | | | /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) | ||||
* | Added $Id$ | dg | 1994-09-24 | 1 | -0/+2 |
| | |||||
* | BSD 4.4 Lite bin Sources | rgrimes | 1994-05-26 | 1 | -0/+924 |