Bug#411706: Debian bug#411706 confusing error message when attempting to compress a directory
forwarded 411706 Andrew Tridgell <rzip@tridgell.net>
thanks
Hi Andrew,
There is this Debian bug[1] that probably never reached you:
From: Sören Nils Kuklau <chucker@mystfans.com>.
rzip returns a confusing error message when the user
attempts to compress a directory. It also leaves behind
a small .rz file, on which runzip will hang.
$ mkdir foo
$ rzip foo
Failed to map buffer in rzip_fd
Fatal error - exiting
$ ls
foo/ foo.rz
bzip2 handles this much more gracefully:
$ bzip2 foo
bzip2: Input file foo is a directory.
If you would you have time to take a look, that'd be gret.
Thanks,
Jari
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411706
Reply to: