[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	millert@cvs.openbsd.org	2001/05/02 16:56:55

Modified files:
	usr.bin/sup    : Makefile.inc 
	usr.bin/sup/src: errmsg.c libc.h log.c netcryptvoid.c nxtarg.c 
	                 run.c salloc.c scm.c scmio.c skipto.c sup.1 
	                 sup.h supcdefs.h supcmain.c supcmeat.c 
	                 supcmisc.c supcparse.c supextern.h supfilesrv.c 
	                 supmsg.c supscan.c supservers.8 sysent.h 
	                 vprintf.c 
	usr.bin/sup/sup: Makefile 
	usr.bin/sup/supfilesrv: Makefile 
Added files:
	usr.bin/sup/src: read_line.c 

Log message:
Sync with NetBSD.  Notable changes:
o Add libwrap support to supfilesrv, conditioned by #ifdef LIBWRAP
(on by default). <bouyer@netbsd.org>
o Renamed '-l' (the 'live' mode) to '-d' and '-l' is now used to
enable logging of successfull connections. <bouyer@netbsd.org>
o Don't botch varargs: the are not always an array of void * in the stack...
Write a separate function to convert a list of function parameters to
explain why execv failed. <christos@netbsd.org>
o When in compress mode, don't overwrite the destination file directly,
write a temp file and use rename when it is done. (From James Mathiesen
<james@deshaw.com>)
o Rename errno variable to error to avoid collision with errno.h and remove
explicit extern of errno (we get it from errno.h) <mycroft@netbsd.org>
o Cleanup unsigned char vs. char
o Add -u flag, that prevents sup from attempting to restore a and m times
on the received files.
o Replace the provided read_line function with calls to the fparseln function
in libutil.  Maintain compatibility on machines without fparseln through
the NEED_READ_LINE define.
o Rename login() to suplogin() to avoid name collition in util.h
o If rmdir() fails, chmod the path to have r/w/x perms and run "rm -rf"
o avoid last.temp filename collision by using rel-suffix
o When creating directories, make sure you remove previous non-directories
before doing so, otherwise sup fails.
o Add -q flag to supscan for quiet operation.