The following reply was made to PR bin/138858; it has been noted by GNATS.

From: "[email protected]" <[email protected]>
To: [email protected]
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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to