Date: Sat, 21 Nov 2009 10:00:07 GMT From: "deeptech71@gmail.com" <deeptech71@gmail.com> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/138858: patch(1) assumes that a file appears only once in the patch in check-only mode Message-ID: <200911211000.nALA07qK032010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/138858; it has been noted by GNATS. From: "deeptech71@gmail.com" <deeptech71@gmail.com> To: bug-followup@freebsd.org Cc: Subject: Re: bin/138858: patch(1) assumes that a file appears only once in the patch in check-only mode Date: Sat, 21 Nov 2009 09:50:15 +0000 --00032555b392f4353f0478de8469 Content-Type: text/plain; charset=ISO-8859-1 let me be more concise: put words.txt and con.patch in one directory, cd to that directory, then: # cat con.patch | patch -p1 -Cs the test run says that the patch looks OK (applies cleanly), so we proceed with actual patching: # cat con.patch | patch -p1 -C but the patch actually fails, so the test run lied ! --00032555b392f4353f0478de8469 Content-Type: text/plain; charset=US-ASCII; name="words.txt" Content-Disposition: attachment; filename="words.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g2a9cc8h0 bG9yZXAKaXBzdW0KZG9sb3IKaW50ZWdlcgpzaXQKYW1ldAprdGh4YnllCg== --00032555b392f4353f0478de8469 Content-Type: application/octet-stream; name="con.patch" Content-Disposition: attachment; filename="con.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_g2a9cq111 ZGlmZiAtcnUgb3JpZ2luYWwvd29yZHMudHh0IGQxL3dvcmRzLnR4dAotLS0gb3JpZ2luYWwvd29y ZHMudHh0CTIwMDktMTEtMjEgMTA6MzA6NTIuMDAwMDAwMDAwICswMDAwCisrKyBkMS93b3Jkcy50 eHQJMjAwOS0xMS0yMSAxMDozMToxMi4wMDAwMDAwMDAgKzAwMDAKQEAgLTEsNyArMSw3IEBACiBs b3JlcAogaXBzdW0KIGRvbG9yCi1pbnRlZ2VyCitmbG9hdAogc2l0CiBhbWV0CiBrdGh4YnllCmRp ZmYgLXJ1IG9yaWdpbmFsL3dvcmRzLnR4dCBkMi93b3Jkcy50eHQKLS0tIG9yaWdpbmFsL3dvcmRz LnR4dAkyMDA5LTExLTIxIDEwOjMwOjUyLjAwMDAwMDAwMCArMDAwMAorKysgZDIvd29yZHMudHh0 CTIwMDktMTEtMjEgMTA6MzE6MjguMDAwMDAwMDAwICswMDAwCkBAIC0xLDcgKzEsNyBAQAogbG9y ZXAKIGlwc3VtCiBkb2xvcgotaW50ZWdlcgorZG91YmxlCiBzaXQKIGFtZXQKIGt0aHhieWUK --00032555b392f4353f0478de8469--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911211000.nALA07qK032010>