[PATCH] tar: enhanced compatibility to old versions
Denis Vlasenko
vda.linux at googlemail.com
Thu Jun 21 12:53:54 UTC 2007
On Wednesday 20 June 2007 22:41, Harald KЭthe wrote:
> Hello list,
>
> bb-1.6.0 is not able to unpack the attached file
> (ENABLE_FEATURE_TAR_OLDGNU_COMPATIBILITY is set)
> Following patch adds support for e.g. checksums with spaces as delimiter.
>
> Best regards
> Harald
Applied. But:
> patch:
> --- busybox-1.6.0.orig/archival/libunarchive/get_header_tar.c 2007-06-01
> 13:48:31.000000000 +0200
> +++ busybox-1.6.0/archival/libunarchive/get_header_tar.c 2007-06-20
> 22:11:19.000000000 +0200
> ...
# patch -p1 </tmp/old_tar.txt --dry-run
patching file archival/libunarchive/get_header_tar.c
Hunk #1 FAILED at 36.
Hunk #2 FAILED at 127.
2 out of 2 hunks FAILED -- saving rejects to file archival/libunarchive/get_header_tar.c.rej
> begin 666 bb-test.tar.gz
> M'XL(`````````RHN34K)+#+4+TDM+M$KJ2AAH $P-# P,S%18%!0,#0T1J&A
> MP,A(P=# S-C4U-3(S-P<*&!N;&RLP# *: ]R,O-2#;E I!&8-.8:#9-1, I&
> 4P2 at 8"0````#__P,`JEYD&P`(````
> `
> end
Do you use uuencode just because it's cool? It's also harder to use
(most newer mail readers won't have tools to unpack it,
need to do it by hand).
--
vda
More information about the busybox
mailing list