1 Star 0 Fork 10

lihuanyu410621/pax

forked from src-openEuler/pax 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pax-3.4-gcc10.patch 1.02 KB
一键复制 编辑 原始数据 按行查看 历史
diff -up pax-3.4/src/extern.h.me pax-3.4/src/extern.h
--- pax-3.4/src/extern.h.me 2020-01-31 13:41:27.520585130 +0100
+++ pax-3.4/src/extern.h 2020-01-31 13:41:46.366376773 +0100
@@ -185,7 +185,7 @@ void options(int, char **);
OPLIST * opt_next(void);
int opt_add(const char *);
int bad_opt(void);
-char *chdname;
+extern char *chdname;
/*
* pat_rep.c
diff -up pax-3.4/src/options.c.me pax-3.4/src/options.c
--- pax-3.4/src/options.c.me 2020-01-31 13:43:45.988955243 +0100
+++ pax-3.4/src/options.c 2020-01-31 14:25:13.558764306 +0100
@@ -83,6 +83,8 @@ static int my_getline_error;
#define GZIP_CMD "gzip" /* command to run as gzip */
#define COMPRESS_CMD "compress" /* command to run as compress */
+char *chdname;
+
/*
* Format specific routine table - MUST BE IN SORTED ORDER BY NAME
* (see pax.h for description of each function)
@@ -724,6 +726,7 @@ tar_options (int argc, char **argv)
case 'o':
if (opt_add ("write_opt=nodir") < 0)
tar_usage ();
+ /* FALLTHROUGH */
case 'O':
Oflag = 1;
break;
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/lihuanyu410621/pax.git
git@gitee.com:lihuanyu410621/pax.git
lihuanyu410621
pax
pax
master

搜索帮助