summaryrefslogtreecommitdiffstats
path: root/package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-06 21:48:53 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-06 21:48:53 +0100
commit9f31e2ffa005095206824e08f69da75503e998ab (patch)
tree312c72a32090bdb6c6c1adb6d48ccdc30eb495fa /package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch
parent4fb67dbb958f3c3bea2b5bfe34d2ffbaa6ea6e40 (diff)
downloadbuildroot-novena-9f31e2ffa005095206824e08f69da75503e998ab.tar.gz
buildroot-novena-9f31e2ffa005095206824e08f69da75503e998ab.zip
busybox: 1.18.2 fixes for ping, tar and udhcp
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch')
-rw-r--r--package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch b/package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch
new file mode 100644
index 000000000..5d5f721b7
--- /dev/null
+++ b/package/busybox/busybox-1.18.2/busybox-1.18.2-tar.patch
@@ -0,0 +1,15 @@
+--- busybox-1.18.2/archival/tar.c
++++ busybox-1.18.2-tar/archival/tar.c
+@@ -1037,8 +1037,10 @@ int tar_main(int argc UNUSED_PARAM, char
+ tar_handle->src_fd = tar_fd;
+ tar_handle->seek = seek_by_read;
+ } else {
+- if (ENABLE_FEATURE_TAR_AUTODETECT && flags == O_RDONLY) {
+- get_header_ptr = get_header_tar;
++ if (ENABLE_FEATURE_TAR_AUTODETECT
++ && flags == O_RDONLY
++ && get_header_ptr == get_header_tar
++ ) {
+ tar_handle->src_fd = open_zipped(tar_filename);
+ if (tar_handle->src_fd < 0)
+ bb_perror_msg_and_die("can't open '%s'", tar_filename);