From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21149 invoked by alias); 19 Oct 2006 06:45:41 -0000 Received: (qmail 21138 invoked by uid 22791); 19 Oct 2006 06:45:41 -0000 X-Spam-Check-By: sourceware.org Received: from Unknown (HELO mswbj01.sunnorth.com.cn) (218.247.162.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 19 Oct 2006 06:45:39 +0000 Received: from maillog.sunnorth.com.cn (unverified [172.20.10.250]) by mswbj01.sunnorth.com.cn (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Thu, 19 Oct 2006 14:47:01 +0800 Received: from ntns1cn.sunnorth.com.cn (ntns1cn.sunnorth.com.cn [172.20.10.252]) by maillog.sunnorth.com.cn (8.12.10/8.12.10) with ESMTP id k9J80qmQ022506 for ; Thu, 19 Oct 2006 16:00:52 +0800 From: bjgnu@sunnorth.com.cn To: gdb@sourceware.org Subject: How to do patching? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5 September 26, 2003 Message-ID: Date: Thu, 19 Oct 2006 06:45:00 -0000 Content-Type: text/plain; charset="US-ASCII" X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00137.txt.bz2 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?