New issue 69 by Brodsky_...@yahoo.com: --compression bzip2 doesn't compress
at all
http://code.google.com/p/xar/issues/detail?id=69
What steps will reproduce the problem?
1. dd if=/dev/zero of=file.dat bs=1000 count=1000
2. xar -c --compression bzip2 -f file.xar file.dat
What is the expected output?
Expected is an archive file with compressed file.dat
What do you see instead?
-rw-r--r-- 1 boris boris 1000000 2009-11-13 13:44 file.dat
-rw-r--r-- 1 boris boris 1000409 2009-11-13 13:44 file.xar
In fact, if you compress some text files and then look inside the xar
archive, you can see those text files in plan text.
What version of the product are you using? On what operating system?
$ xar --version
xar 1.5.2
$ uname -a
Linux boris-laptop 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42
UTC 2009 i686 GNU/Linux
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 69 by bbraun: --compression bzip2 doesn't compress at
all
http://code.google.com/p/xar/issues/detail?id=69
This is likely due to your xar not being built with bzip2 support.
It is a bug that xar does not print an error when specifying an unsupported
compression type. I believe I have
fixed this in commit 227. Can you please check out from trunk and test
this?