svn commit: r189455 - head/contrib/csup
Ulf Lilleengen
lulf at FreeBSD.org
Fri Mar 6 12:17:17 PST 2009
Author: lulf
Date: Fri Mar 6 20:17:16 2009
New Revision: 189455
URL: http://svn.freebsd.org/changeset/base/189455
Log:
- Try to handle rcsfile write failures in the same way as cvsup, as they are not
necessarily fatal. If the file was incorrectly written, the checksum will
detect it and the file will be retransferred.
Modified:
head/contrib/csup/updater.c
Modified: head/contrib/csup/updater.c
==============================================================================
--- head/contrib/csup/updater.c Fri Mar 6 17:40:58 2009 (r189454)
+++ head/contrib/csup/updater.c Fri Mar 6 20:17:16 2009 (r189455)
@@ -1682,7 +1682,7 @@ updater_rcsedit(struct updater *up, stru
stream_close(dest);
rcsfile_free(rf);
if (error)
- return (UPDATER_ERR_PROTO);
+ lprintf(-1, "Error writing %s\n", name);
finish:
sr->sr_clientattr = fattr_frompath(path, FATTR_NOFOLLOW);
More information about the svn-src-head
mailing list