[BusyBox] tar: Decompresion Failed bug
Roberto A. Foglietta
me at roberto.foglietta.name
Thu Jul 21 15:59:37 MDT 2005
Hi,
it's the first time I sent to this list a patch please tell me if I
wrong something. This patch should fix the problem "tar: Decompression
failed" returns exit status 0 even error happened.
BEFORE (original 1.00 on the embbedded device):
root at embeslax:~# cd /tmp
root at embeslax:/tmp# dd if=/dev/zero of=pippo.tar.bz2 bs=1k count=1
1+0 records in
1+0 records out
root at embeslax:/tmp# tar xjf pippo.tar.bz2; echo $?
tar: Decompression failed
0
AFTER (patched on my workstation):
bash-2.05b# dd if=/dev/zero of=pippo.tar.bz2 bs=1k count=1
0+0 records in
0+0 records out
bash-2.05b# _install/bin/tar xjf pippo.tar.bz2; echo $?
tar: Decompression failed
255
This patch was inserted as
0000347: tar: Decompression failed returns exit status 0 even error happened
http://busybox.net/bugs/view.php?id=347
and may conflict with this below
0000262: tar -x doesn't believe it has reached the end of archive
http://busybox.net/bugs/view.php?id=262
let me know, please...
:-)
Cheers,
--
Roberto A. Foglietta
http://roberto.foglietta.name
http://lugge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: busybox-1.00_raf.diff
Type: text/x-patch
Size: 6772 bytes
Desc: not available
Url : http://busybox.net/lists/busybox/attachments/20050721/5754da50/busybox-1.00_raf-0001.bin
More information about the busybox
mailing list