Re: Libification project (SoC)
"Luiz Fernando N. Capitulino" <lcapitulino@mandriva.com.br> wrote:
> I think the right solution is to get rid of die() from functions that
> are supposed to be an interface, set errno if needed and return -1
> or NULL.
And then make their callers (if they are above the public API layer)
die instead. In some cases this might imply an undesirable change
in the error message produced, as necessary details that are included
today would be unavailable in the caller.
> Is there more things like the set_*_routine()s added to fix
> other problems?
--
Shawn.