diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch')
-rw-r--r-- | meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch b/meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch deleted file mode 100644 index 99ab509e..00000000 --- a/meta-agl-devel/meta-oem-extra-libs/recipes-core/libtar/files/oldgnu_prefix.patch +++ /dev/null @@ -1,21 +0,0 @@ -Description: Detect old-style GNU headers correctly -Author: Steinar H. Gunderson <sesse@debian.org> - ---- libtar-1.2.20.orig/lib/decode.c -+++ libtar-1.2.20/lib/decode.c -@@ -69,7 +69,14 @@ th_get_pathname(TAR *t) - return NULL; - } - -- if (t->th_buf.prefix[0] == '\0') -+ /* -+ * Old GNU headers (also used by newer GNU tar when doing incremental -+ * dumps) use the POSIX prefix field for many other things, such as -+ * mtime and ctime. New-style GNU headers don't, but also don't use the -+ * POSIX prefix field. Thus, only honor the prefix field if the archive -+ * is actually a POSIX archive. This is the same logic as GNU tar uses. -+ */ -+ if (strncmp(t->th_buf.magic, TMAGIC, TMAGLEN - 1) != 0 || t->th_buf.prefix[0] == '\0') - { - sprintf(t->th_pathname, "%.100s", t->th_buf.name); - } |