LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 730|回复: 2

知道文件a和它与文件b的diff,如何生成文件b?

[复制链接]
发表于 2005-9-29 19:23:36 | 显示全部楼层 |阅读模式
我下了一个程序,假设文件为a吧。
后来听说那人对a做了修改,假设修改后为b,可是我下不到:)
但是,我找到了二者的diff文件(其实我也不太清楚这个diff是不是就是patch啊?),部分内容如下:

--- configure_orig        2005-09-19 10:46:30.000000000 +0200
+++ configure        2005-09-19 10:46:34.000000000 +0200
@@ -19209,11 +19209,11 @@
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu

-  if test "$cross_compiling" = "yes"; then
-    { { echo "$as_meLINENO: error: unable to find a compiler for building build tools" >&5
-echo "$as_me: error: unable to find a compiler for building build tools" >&2;}
-   { (exit 1); exit 1; }; }
...................................................................................................................


请问,如何根据文件a和它与文件b的diff,生成完整的文件b呢?
发表于 2005-9-29 21:08:42 | 显示全部楼层
不懂,一会再回来看别的人贴,先帮硕下~~~~~~~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-6 14:37:26 | 显示全部楼层
大家出出主意啊,谢谢拉
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表