On Tue, Sep 25, 2012 at 12:46:15PM +0800, Michael Chang wrote:
> I agree with you. IMHO the problem is it's not emitted directly from
> gettext module but from common underlying fs level, removing it would
> lead to other message which is fatal be ignored as well.

That's incorrect; the gettext module is perfectly able to disregard
errors from lower-level methods that it doesn't care about.

> Another question is : Is there any other good method offered by grub2
> to check the files existence that we could test before calling
> grub_file_open() in gettext.c ? Anybody has good idea on this ?

This is the wrong approach; you should try it and then handle errors,
not look-before-you-leap.

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to