bin/138858: patch(1) assumes that a file appears only once in
the patch in check-only mode
deeptech71 at gmail.com
deeptech71 at gmail.com
Thu Sep 1 05:00:22 UTC 2011
The following reply was made to PR bin/138858; it has been noted by GNATS.
From: "deeptech71 at gmail.com" <deeptech71 at gmail.com>
To: bug-followup at 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.
More information about the freebsd-bugs
mailing list