Re: [AD] pack_ferror() - differences between platforms

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


> Grr.

The right wording indeed :-)

> Apparently, pack_feof() returns nonzero as soon as you reach the end of
> the file. It doesn't want for you to try to read BEYOND the end of the
> file.

Old news. See http://glub.ehu.es/mlist/allegro_conductors/2001/3095.html

> Disregard the three patches I posted last time; if there are no
> objections, I shall begin work on a patch that will arrange for
> pack_ferror() to return nonzero after you try to read beyond the end of a
> file. I'll include the extra documentation for pack_feof() in the patch.

Already available at 
http://perso.libertysurf.fr/ebotcazou/dev/packfeof_ansi.zip

We ruled it out (well, Peter did but I concurred) though. See the thread 
"pack_ungetc" starting July 09.

-- 
Eric Botcazou




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