grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] gfxterm: check elements' properties and hadle errors.


From: Andrey Borzenkov
Subject: Re: [PATCH] gfxterm: check elements' properties and hadle errors.
Date: Thu, 7 Mar 2013 10:03:34 +0400

On Thu, Mar 7, 2013 at 8:22 AM, Vladimir Testov
<address@hidden> wrote:
>>This loses original OOM error if it was returned. May be make it return
>
>>true/false and check if grub_errno is set on false. Not sure.
>
>>
>
>>Do you have any real problem to solve? I wonder if these errors are
>
>>visible to user at all; if not, setting them does not really buy
>
>>anything.
>
>
> The original error is not beeing processed at all in the current state.
>
> So if we have error in global option or in component's name - the error is
> displayed.
>
> But if we have error in component's option - (in current state) nothing is
> displayed and the option is just beeing ignored.
>
> With this patch the error will be displayed in all cases.
>

Again - what problem are you trying to solve? I added unknown option
to theme element and it was loaded and displayed just fine. Why
aborting theme loading in this case is better?

>
>
> Andrey, maybe you should try to compile GRUB with the patch or read source
> code more carefully before making conclusions? Or should I sent you
> screenshot with displaying of the error? Or you just don't know how the
> theme file is beeing parsed?
>

May be you should be less hostile to simple questions? I take it you
are expert in GRUB2 themes. I'm not and I'm trying to learn. OK?

>
> Please, try to be more concrete. :)
>

You conveniently ignored comment about losing original error.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]