Date: Mon, 23 Sep 2002 14:28:06 -0400 From: Mikhail Teterin <mi+mx@aldan.algebra.com> To: Stephen McKay <mckay@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/cp cp.c Message-ID: <200209231428.06798.mi%2Bmx@aldan.algebra.com> In-Reply-To: <200209221115.g8MBFv00023063@freefall.freebsd.org> References: <200209221115.g8MBFv00023063@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 22 September 2002 07:15 am, Stephen McKay wrote: = mckay 2002/09/22 04:15:57 PDT = = Modified files: = bin/cp cp.c = Log: = cp -p could report success even if a file copy failed. This was = due to the cumulative exit status being overwritten when directory = permissions were being set. This was particularly bad when called = from mv(1) to perform a cross-device move as the original files were = deleted even if the copy failed. It could also report failure -- from changing the timestamps and such, even though the file was copied. It, probably, still should report the problem, but the message the user sees should be more detailed. What about MFC-ing? -mi = Reported by: Slaven Rezic <slaven.rezic@berlin.de> = Patch by: bde = PR: 42789 = = Revision Changes Path = 1.42 +4 -3 src/bin/cp/cp.c -- Как, Вы разве без шпаги пришли? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209231428.06798.mi%2Bmx>