delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | Yes, hits=5.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,RAZOR2_CF_RANGE_51_100,RAZOR2_CF_RANGE_E8_51_100,RAZOR2_CHECK |
X-Spam-Check-By: | sourceware.org |
Date: | Sat, 2 Oct 2010 21:37:45 +0400 |
From: | Andrey Repin <anrdaemon AT freemail DOT ru> |
Reply-To: | Andrey Repin <cygwin AT cygwin DOT com> |
Message-ID: | <1777862342.20101002213745@mtu-net.ru> |
To: | Marco Atzeri <cygwin AT cygwin DOT com> |
Subject: | Re: R: patch can't find files by linux-stype path |
In-Reply-To: | <821543.82660.qm@web25502.mail.ukl.yahoo.com> |
References: | <821543 DOT 82660 DOT qm AT web25502 DOT mail DOT ukl DOT yahoo DOT com> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Greetings, Marco Atzeri! >> >> >> [C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch >> >> > C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98 >> > is not a cygwin path, so what is your shell ? >> >> http://www.farmanager.com/index.php?l=en >> >> > I will expect something like >> > >> /cygdrive/c/arc/games/online/WoW/AddOns/DebuffFilter-1.98 >> >> >> < ../.modd/DebuffFilter/TinyFontFix.patch >> >> can't find file to patch at input line 3 >> >> Perhaps you should have used the -p or --strip >> option? >> >> > patch --help is your friend, >> > you need likely to specify >> > "-p number" >> >> Hope it's not a joke, just misunderstanding. >> Files are exactly where they are supposed to be. >> In ./DebuffFilter/* in this case. > Thanks for the test case. > You are right > /tmp/DebuffFilter-1.98 > $ patch -i TinyFontFix-linpath.patch > can't find file to patch at input line 3 > but > /tmp/DebuffFilter-1.98 > $ patch -p0 -i TinyFontFix-linpath.patch > patching file DebuffFilter/DebuffFilter.xml > works. I don't know the reason. > Sometimes patch tries to be too smart. Aww... LOL :D Gonna take it for a habit... it's second application in two days that require empty (theoretically meaningless) parameters to work properly. Still I'd like to have Cygwin guys to take a look at the case and tell us if it's Cygwin or patch issue. -- WBR, Andrey Repin (anrdaemon AT freemail DOT ru) 02.10.2010, <21:34> Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |