RE: [AD] compressing empty files

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Title: RE: [AD] compressing empty files

> If `input' is an empty file, then:
>
>     pack input packed ; pack u packed output
>
> produces a one byte file.  A tentative patch is attached.
> Probably not a good idea for 4.0.2 as I'm not 100% sure of it.

Might well be a fix for the problem with pack_feof not
really working I reported quite a while ago.

--
Vincent Penquerc'h



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/