delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/01/10:00:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT
X-Spam-Check-By: sourceware.org
Date: Fri, 1 Oct 2010 17:58:36 +0400
From: Andrey Repin <anrdaemon AT freemail DOT ru>
Reply-To: Andrey Repin <cygwin AT cygwin DOT com>
Message-ID: <20993553.20101001175836@mtu-net.ru>
To: All <cygwin AT cygwin DOT com>
Subject: patch can't find files by linux-stype path
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-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, All!

[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch < ../.modd/DebuffFilter/TinyFontFix.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- DebuffFilter/DebuffFilter.xml      2009-09-01 22:10:48.000000000 +0400
|+++ DebuffFilter/DebuffFilter.xml      2009-10-04 08:28:36.412625000 +0400
--------------------------
File to patch: ?
[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98]$patch < ../.modd/DebuffFilter/TinyFontFix.patch
can't find file to patch at input line 3
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- ./DebuffFilter/DebuffFilter.xml    2009-09-01 22:10:48.000000000 +0400
|+++ ./DebuffFilter/DebuffFilter.xml    2009-10-04 08:28:36.412625000 +0400
--------------------------
File to patch:

But when I change these lines to
--- DebuffFilter\DebuffFilter.xml  2010-09-18 16:25:08.000000000 +0400
+++ DebuffFilter\DebuffFilter.xml  2010-10-01 17:54:35.746500000 +0400

the patch works well.

Ah, of course...
[C:\arc\games\online\WoW\AddOns\DebuffFilter-1.98\DebuffFilter]$which patch
patch is an external : C:\Programs\CygWin\bin\patch.exe

So, the question is... what i'm doing wrong?


-- 
WBR,
 Andrey Repin (anrdaemon AT freemail DOT ru) 01.10.2010, <17:56>

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019