[Mndiff-dev] [BUG] mnzip: exit status 1 with some some files
I don't know if this is a bug in compression or decompression, but 'mnzip d' exits with status 1 even though the operation appears to work--the output file is identical to the original. You can get bzip2-ed source files here: http://fatooh.org/files/tmp/mnzip/big.bz2 http://fatooh.org/files/tmp/mnzip/small.bz2 They're the first 4 MB and 1 MB of the linux 2.6.0 tar. $ ls -l total 5128 -rw-r--r-- 1 bugfood bugfood 4194304 2007-06-19 16:56:44 big -rw-r--r-- 1 bugfood bugfood 1048576 2007-06-19 16:56:55 small $ md5sum * 03dd4e4b175dda45093dd7183a6356b9 big 0a2b383ccb25969dd930dbe57da08d4f small To reproduce, run a set of commands like this: echo -----compressing------- mnzip c0 small > out.mnz echo exit status $? echo ---------decompressing---------- mnzip d out.mnz > out echo exit status $? The "big" file has the same problem even with "c" instead of "c0". I've posted logs: http://fatooh.org/files/tmp/mnzip/big.log http://fatooh.org/files/tmp/mnzip/small.log -Corey
Hi On Tue, Jun 19, 2007 at 05:17:51PM -0500, Corey Hickey wrote:
I don't know if this is a bug in compression or decompression, but 'mnzip d' exits with status 1 even though the operation appears to work--the output file is identical to the original.
You can get bzip2-ed source files here:
http://fatooh.org/files/tmp/mnzip/big.bz2 http://fatooh.org/files/tmp/mnzip/small.bz2
They're the first 4 MB and 1 MB of the linux 2.6.0 tar.
$ ls -l total 5128 -rw-r--r-- 1 bugfood bugfood 4194304 2007-06-19 16:56:44 big -rw-r--r-- 1 bugfood bugfood 1048576 2007-06-19 16:56:55 small $ md5sum * 03dd4e4b175dda45093dd7183a6356b9 big 0a2b383ccb25969dd930dbe57da08d4f small
To reproduce, run a set of commands like this:
echo -----compressing------- mnzip c0 small > out.mnz echo exit status $? echo ---------decompressing---------- mnzip d out.mnz > out echo exit status $?
The "big" file has the same problem even with "c" instead of "c0".
fixed (small one, big should be too but i didt try) [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When you are offended at any man's fault, turn to yourself and study your own failings. Then you will forget your anger. -- Epictetus
Michael Niedermayer wrote:
Hi
On Tue, Jun 19, 2007 at 05:17:51PM -0500, Corey Hickey wrote:
I don't know if this is a bug in compression or decompression, but 'mnzip d' exits with status 1 even though the operation appears to work--the output file is identical to the original.
You can get bzip2-ed source files here:
http://fatooh.org/files/tmp/mnzip/big.bz2 http://fatooh.org/files/tmp/mnzip/small.bz2
They're the first 4 MB and 1 MB of the linux 2.6.0 tar.
$ ls -l total 5128 -rw-r--r-- 1 bugfood bugfood 4194304 2007-06-19 16:56:44 big -rw-r--r-- 1 bugfood bugfood 1048576 2007-06-19 16:56:55 small $ md5sum * 03dd4e4b175dda45093dd7183a6356b9 big 0a2b383ccb25969dd930dbe57da08d4f small
To reproduce, run a set of commands like this:
echo -----compressing------- mnzip c0 small > out.mnz echo exit status $? echo ---------decompressing---------- mnzip d out.mnz > out echo exit status $?
The "big" file has the same problem even with "c" instead of "c0".
fixed (small one, big should be too but i didt try)
Seems fine; thanks. -Corey
participants (2)
-
Corey Hickey -
Michael Niedermayer