Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EDD1A9F.8030401@rbcmail.ru> Date: Tue, 03 Jun 2003 18:01:03 -0400 From: Constantine User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.4) Gecko/20030529 X-Accept-Language: en-gb, ru, en-us, en MIME-Version: 1.0 To: Max Bowsher CC: cygwin AT cygwin DOT com Subject: Re: Why is patch(1) asking for the file names already given? References: <3EDC3908 DOT 8000805 AT rbcmail DOT ru> <3EDD175B DOT 2080809 AT rbcmail DOT ru> <009801c32a19$f094d2e0$78d96f83 AT pomello> In-Reply-To: <009801c32a19$f094d2e0$78d96f83@pomello> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Max Bowsher wrote: >Constantine wrote: > > >>Andrew Markebo wrote: >> >> >> >>>Hi! >>> >>>Just a guess, I usually throw -p1 or more, not -p0? Could it be that? >>> >>> /Andy >>> >>>/ Constantine 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. > --- start --- diff -b -B --exclude='*.*htm*' -r en-US/.jar/autoconfig/contents.rdf en-GB/.jar/autoconfig/contents.rdf 7c7 < --- > 11c11 < --- > --- end --- I want to emphasise, that the line "diff ..." is the first one, though patch(1) is saying that it is the second one. Cheers, Constantine. -- 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/