freebsd-skq/usr.bin/csup
John Baldwin 6d6bc99ad2 If an RCS file is truncated, rcsfile_getdelta() will return NULL. Instead
of faulting, check for NULL.  However, returning an error would cause csup
to just abort the entire update.  Instead, break out of the loop and
return ok.  The attempts to update the file will trigger a MD5 failure which
will cause csup to download the entire file as a fixup.

Reviewed by:	lulf
MFC after:	1 week
2010-09-30 14:28:48 +00:00
..
attrstack.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
attrstack.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
auth.c - Fix spelling. 2010-03-03 21:22:53 +00:00
auth.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
config.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
config.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
cpasswd.1 mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
cpasswd.sh - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
csup.1 Don't point users at the old csup homepage. 2010-08-05 18:26:03 +00:00
detailer.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
detailer.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
diff.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
diff.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fattr_bsd.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fattr_posix.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fattr.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fattr.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fixups.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fixups.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fnmatch.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
fnmatch.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
globtree.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
globtree.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
idcache.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
idcache.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
keyword.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
keyword.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
lex.rcs.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
lister.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
lister.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
main.c Don't point users at the old csup homepage. 2010-08-05 18:26:03 +00:00
main.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
Makefile - Include CURDIR in case the makefile is not run from the same directory. 2010-03-03 16:45:58 +00:00
misc.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
misc.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
mux.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
mux.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
parse.y - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
pathcomp.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
pathcomp.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
proto.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
proto.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
queue.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rcsfile.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rcsfile.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rcsparse.c If an RCS file is truncated, rcsfile_getdelta() will return NULL. Instead 2010-09-30 14:28:48 +00:00
rcsparse.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rcstokenizer.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rcstokenizer.l - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
README - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rsyncfile.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
rsyncfile.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
status.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
status.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
stream.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
stream.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
threads.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
threads.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
TODO - Unmark authentication support as a TODO item. 2010-03-02 07:37:35 +00:00
token.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
token.l - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
updater.c - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00
updater.h - Move csup away from contrib/ and into usr.bin/. Software is no longer 2010-03-02 07:26:07 +00:00

$FreeBSD$

Authors
-------

CVSup was originally written in Modula-3 by
	John Polstra <jdp@polstra.com>.

Csup is a rewrite of CVSup in C.  It has been mostly written by
	Maxime Henrion <mux@FreeBSD.org>.

A few contributors have helped him in his task and they are listed here in
alphabetical order :

	Olivier Houchard <cognet@FreeBSD.org>
	Ulf Lilleengen <lulf@kerneled.org>
	Christoph Mathys <cmathys@bluewin.ch>	(Google SoC Project)
	Etienne Vidal <etienne.vidal@gmail.com>


Building & Installing
---------------------

Csup should build and run fine under any *BSD OS (that includes FreeBSD,
NetBSD, OpenBSD and DragonFlyBSD), as well as Linux and Darwin.  If you
have a problem building from source, drop me a mail!

There is one Makefile specifically tailored for *BSD systems named
Makefile and another one that is gmake-specific for Darwin and Linux
users named GNUmakefile.  You don't really need to worry about that
since whatever your "make" command is, it should pick up the correct
Makefile.

As usual, to build the source code, just run "make".  Once this is done,
just run "make install" to install the binary and manual page.

Be warned however that if the packaging system of your OS knows about
csup, it is certainly better to install it from there rather than by
hand, so that it can then be properly deinstalled.