Skip to contentSkip to conversation

gfxterm: check elements' properties and hadle errors.

PATCH Vladimir Testov 1 participant 1 message Mar 7, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines

This is not a correct error handling. You should never return an error without calling grub_error. Also in all these contexts you handle the cases of unknown property name. I don't feel like refusing to load a theme because of unknown property is a good idea. This would i.a. exclude older GRUB versions for newer themes even if property in question is minor in meaning. Compare this to a browser refusing to show a page because of unknown tag attribute. Also GRUB_ERR_IO hardly describes a condition of unknown property.

Thanks for the reply. :) This subject is closed.

Signature · 4 lines
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru