|
|
我把源码补丁放在源码目录后,
用命令 bzip2 -dc mypatch.bz2 | patch -p1 后出现以下提示:
……
Hunk #21 succeeded at 3565 with fuzz 2 (offset 129 lines).
Hunk #22 succeeded at 3784 with fuzz 2 (offset 145 lines).
Hunk #23 FAILED at 3833.
12 out of 23 hunks FAILED -- saving rejects to file CREDITS.rej
patching file Documentation/CodingStyle
Reversed (or previously applied) patch detected! Assume -R? [n]
这个是什么意思啊?
无论我怎么回答,后面又一直提问,烦死了。
要怎么才能一次性把补丁打上呢?
如果用 bzip2 -dc mypatch.bz2 | patch -p10 ,出现提示如下:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru a/CREDITS b/CREDITS
|--- a/CREDITS 2004-10-18 14:56:48 -07:00
|+++ b/CREDITS 2004-10-18 14:56:48 -07:00
--------------------------
File to patch:
这又怎么办?
patch 的p参数后面的数字到底代表什么啊?man看了半天仍不懂。
谢谢各位大大帮我这只初飞的菜鸟吧!!! |
|