Date: Fri, 6 Mar 2009 20:17:16 +0000 (UTC) From: Ulf Lilleengen <lulf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r189455 - head/contrib/csup Message-ID: <200903062017.n26KHG0r028162@svn.freebsd.org>
index | next in thread | raw e-mail
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);home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903062017.n26KHG0r028162>
