Re: [AD] pack_ungetc

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


> But first and foremost: do we fix pack_feof() ? The main drawback is the
> one described above. The main advantage (besides conformity) is to
> simplify the code in src/file.c

Meanwhile I've applied the attached patch that gets rid of several
unnecessary (and sometimes erroneous) calls to pack_feof() (the last one
is part of Peter's fix for the problem with empty packfiles).

--
Eric Botcazou
ebotcazou@xxxxxxxxxx

Attachment: packfeof.zip
Description: Zip compressed data



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