Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: bjgnu@sunnorth.com.cn
To: gdb@sourceware.org
Subject: How to do patching?
Date: Thu, 19 Oct 2006 06:45:00 -0000	[thread overview]
Message-ID: <OFF59B3CBA.54213194-ON4825720C.00251A73-4825720C.00253949@sunnorth.com.cn> (raw)

Hello all,

When patching a file, report following error message:
Hunk #1 FAILED at 1184.
Hunk #2 FAILED at 1238.
Hunk #3 FAILED at 1840.
Hunk #4 FAILED at 2000.
Hunk #5 succeeded at 2409 with fuzz 2.

The operation flow is as follows:
1. copy diff text in maillist mail to my.patch
   Note: I use emacs to edit my.patch.
         My mail box is Lotus Notes.
         I found there are many space in my.patch. 
2. execute "patch < my.patch", the above error message emit.

Which step is wrong or What is the problem?


             reply	other threads:[~2006-10-19  6:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-19  6:45 bjgnu [this message]
2006-10-19 17:34 Kaz Kylheku

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=OFF59B3CBA.54213194-ON4825720C.00251A73-4825720C.00253949@sunnorth.com.cn \
    --to=bjgnu@sunnorth.com.cn \
    --cc=gdb@sourceware.org \
    /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