gfxterm: check elements' properties and hadle errors.
Quoted 6 lines
This loses original OOM error if it was returned. May be make it return true/false and check if
grub_errnois 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.
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?
Please, try to be more concrete. :)
Signature · 4 lines
With best regards, _______________________________ Vladimir Testov, ROSA Laboratory. www.rosalab.ru
Quoted 15 lines · Vladimir Testov
Quoted 11 lines
This loses original OOM error if it was returned. May be make it return
true/false and check if
grub_errnois 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.
Quoted 8 lines
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?
Quoted 7 lines
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?
Quoted 3 lines
Please, try to be more concrete. :)
You conveniently ignored comment about losing original error.