Date: Thu, 1 Sep 2011 05:00:22 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: <201109010500.p8150M2r021162@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: Thu, 1 Sep 2011 06:50:36 +0200 i've just noticed that in my 2nd message i've screwed up the command flags. restating everything: put words.txt and con.patch in one directory, cd to that directory, and then do: $ cat con.patch | patch -sp1 --check the --check flag means "do not actually edit files, just check to see what would happen". the above test run says that the patch applies cleanly. now do: $ cat con.patch | patch -sp1 notice that now the patch actually fails, so the test run lied.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109010500.p8150M2r021162>