This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Why is patch(1) asking for the file names already given?
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Constantine" <cnst at rbcmail dot ru>,<cygwin at cygwin dot com>
- Date: Tue, 3 Jun 2003 22:48:59 +0100
- Subject: Re: Why is patch(1) asking for the file names already given?
- References: <3EDC3908.8000805@rbcmail.ru> <m3llwjzg2s.fsf@telia.com> <3EDD175B.2080809@rbcmail.ru>
Constantine wrote:
> Andrew Markebo wrote:
>
>> Hi!
>>
>> Just a guess, I usually throw -p1 or more, not -p0? Could it be that?
>>
>> /Andy
>>
>> / Constantine <cnst@rbcmail.ru> wrote:
>>> Hello!
>>>
>>> I am trying to apply a patch I made for myself. When I am running the
>>> patch(1) utility, I am always being asked to type in the file name to
>>> a file that needs to be patched. My diff file contains a diff on a few
>>> files, and this is my dialogue with the patch(1):
>>>
>>> --- my quote start ---
>>> >patch --ignore-whitespace -p0 -i US-GB.nohtml.diff
>>> can't find file to patch at input line 2
>>> Perhaps you used the wrong -p or --strip option?
>>> The text leading up to this was:
>>> --------------------------
>>>> diff -b -B --exclude='*.*htm*' -r en-US/.jar/autoconfig/contents.rdf
>>> en-GB/.jar/autoconfig/contents.rdf
>>> --------------------------
>>> File to patch: en-GB/.jar/autoconfig/contents.rdf
>>> patching file en-GB/.jar/autoconfig/contents.rdf
Perhaps your patch file is corrupt.
Please post the first 10 lines of it.
Max.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/