This is the mail archive of the
mailing list for the Cygwin project.
Re: Why is patch(1) asking for the file names already given?
>>>> / Constantine <email@example.com> wrote:
>>>>> 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.
> Max Bowsher wrote:
>> Perhaps your patch file is corrupt.
>> Please post the first 10 lines of it.
> --- start ---
> diff -b -B --exclude='*.*htm*' -r en-US/.jar/autoconfig/contents.rdf
> < <RDF:li resource="urn:mozilla:locale:en-US"/>
> > <RDF:li resource="urn:mozilla:locale:en-GB"/>
> < <RDF:Description about="urn:mozilla:locale:en-US">
> > <RDF:Description about="urn:mozilla:locale:en-GB">
> --- end ---
Ah. No wonder it isn't working.
"Normal" diffs don't store any filename information.
Use diff -u or diff -c.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html