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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"