From: Andrey Repin <anrdaemon@freemail.ru>
To: Marco Atzeri <cygwin@cygwin.com>
Subject: Re: R: patch can't find files by linux-stype path
Date: Sat, 02 Oct 2010 17:40:00 -0000 [thread overview]
Message-ID: <1777862342.20101002213745@mtu-net.ru> (raw)
In-Reply-To: <821543.82660.qm@web25502.mail.ukl.yahoo.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@freemail.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
next prev parent reply other threads:[~2010-10-02 17:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <63338435.20101002014533@mtu-net.ru>
2010-10-02 4:36 ` Marco Atzeri
2010-10-02 17:40 ` Andrey Repin [this message]
2010-10-01 14:00 Andrey Repin
2010-10-01 14:31 ` R: " Marco Atzeri
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1777862342.20101002213745@mtu-net.ru \
--to=anrdaemon@freemail.ru \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).