Re: [AD] documenting minor return values

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


> Which reminds me of a problem Annie is having, being that
> pack_fclose_chunk does not return anything hinting of an error,
> though there might be some error writing the temporary file back
> into the PACKFILE.

What sort of error ?

> She has an upcoming patch fixing a security problem with temp files used
> for chunks, and she ran into that ... Trouble with returning NULL being
> that code actually relies on it returning the parent file.

Does the function set allegro_errno ? If no, maybe it's the way to go.

--
Eric Botcazou
ebotcazou@xxxxxxxxxx



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