问题阐述:
最近在windows上做一个开源包的build工作,需要打patch,patch文件通过diff命令生成的,使用参数(Options)为-Naur。但是当我在windows的command prompt(有安装cygwin)下做的时候先后报出如下错误:
1.Assertion failed: hunk, file patch.c, line 321 但是操作目录文件夹下没有patch.c文件。
2.patching file `mspack\system.h'
Hunk #1 FAILED at 10. Hunk #2 FAILED at 43. Hunk #3 FAILED at 59.
3 out of 3 hunks FAILED
上网查