jjmm-cn 发表于 2004-11-13 18:03:05

patch到底怎么用呀?

我把patch-2.6.9放到了/usr/src目录下,可用patch -p0<patch-2.6.9
时如下:
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/CREDITS2004-10-18 14:56:48 -07:00
|+++ b/CREDITS2004-10-18 14:56:48 -07:00
--------------------------
File to patch:
我输入/usr/src/linux-2.6.9
这时又出现:
patch: **** File /usr/src/linux-2.6.9 is not a regular file -- can't patch
到底怎么回事呀?

conner 发表于 2004-11-14 07:45:28

试试看 -p1
页: [1]
查看完整版本: patch到底怎么用呀?