This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to do patching?


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]