[ 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
The patch is available at:
http://perso.libertysurf.fr/ebotcazou/packfeof_ansi.zip
I don't plan to merge it for the 4.1.0 though.
What it does:
- pack_feof() and pack_fseek() are more consistent with their ANSI C
counterparts,
- pack_ungetc() and pack_clearerr() are added to the API (as inline
functions).
Two tests are also included in the archive.
--
Eric Botcazou
ebotcazou@xxxxxxxxxx