提交 6f2c9b89 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!655 Fill xattrs in SCHILY only

Merge pull request !655 from wangfengtu/xattr
...@@ -513,6 +513,7 @@ static int tar_all(int fd) ...@@ -513,6 +513,7 @@ static int tar_all(int fd)
w = archive_write_new(); w = archive_write_new();
archive_write_set_format_pax(w); archive_write_set_format_pax(w);
archive_write_set_options(w, "xattrheader=SCHILY");
ret = archive_write_open_fd(w, fd); ret = archive_write_open_fd(w, fd);
if (ret != ARCHIVE_OK) { if (ret != ARCHIVE_OK) {
ERROR("open archive write failed: %s", archive_error_string(w)); ERROR("open archive write failed: %s", archive_error_string(w));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册