[AD] compressing empty files |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
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. -- 王浩禎
Attachment:
emptyfile.diff.gz
Description: application/gunzip
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |