On Jan 24, 2008 9:42 PM, Oleg Strikov <[EMAIL PROTECTED]> wrote:

>
> >> Previous behavior was working correctly. You have to handle
> > >> errorcodes
> > >> at some point and that means when error is handled it is zeroed (or
> > >> GRUB_ERR_NONE). So code is in callee where that loop was.
> >
> > >I suggest that we never set grub_errno to 0 (except the
> > initialization).
> > >That would match the standard errno behavior:
> >
> > >http://www.opengroup.org/onlinepubs/009695399/functions/errno.html
> > <http://www.opengroup.org/onlinepubs/009695399/functions/errno.html>
> >
> > >--
> > >Regards,
> > >Pavel Roskin
>
>
> But is it correct to check and handle  errno in some `library` function
> (now we do) ?  I CAN, but i do not have to examine  errno after each
> non-error-free call; is it right?
>
>
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to