Sorry if this is answered somewhere, but I had a heck of time
searching the archive for this subject - patch is a pretty popular
word.
I am having problem with patch in that it doesn't recognize forward
slashed paths inside the patch file so it can't find the file to
patch. If I cut and paste the exact same path in response to its "File
to patch:" query then it continues happily. This happens from bash or
from the windows command line.
Below is a sample session.
thanks,
dave
$ patch -d . -i dgrPatches/zip.diff
can't find file to patch at input line 16
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|Zip changes
|
|Fixes a bug in Zip so that its source zip files are closed after
|it is done and adds tests to verify this.
|
|* files
|NONE
|
|Index: src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java
|===================================================================
|RCS file: /home/cvspublic/jakarta-ant/src/testcases/org/apache/tools/ant/taskde
fs/ZipTest.java,v
|retrieving revision 1.3
|diff -u -r1.3 ZipTest.java
|--- src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java 2001/03/02 16:01
:01 1.3
|+++ src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java 2001/03/07 00:11
:39
--------------------------
File to patch:
src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java
patching file
`src/testcases/org/apache/tools/ant/taskdefs/ZipTest.java'
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple