Hello *,

I found that decompress hangs if data ends prematurely,
i.e.

        do
        content <- readFile fp
        doSomething (Bzip2.decompress content)

does not terminate in this case.
Data that is corrupt in some other way (for example, decompressing
a file that has not been generated with bzip2) is detected and
an exception is thrown.

Michael





_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to