* Re: svn commit: r228985 - head/sys/boot/forth

Devin Teske devin.teske at fisglobal.com
Mon Jan 9 15:38:55 UTC 2012



On Jan 9, 2012, at 4:49 AM, Dimitry Andric <dim at FreeBSD.org> wrote:

> On 2012-01-08 21:35, Sergey Kandaurov wrote:
> ...
>> So, the problem arise when beastie_disable is set.
>> 
>> In this case menu.rc is not evaluated and consequently menu-unset does
>> not have a body yet. This results in the ficl warning "not found" when
>> try-menu-unset calls menu-unset. The warning cannot be handled with catch
>> as seen with the code in head.
>> Otherwise, when beastie is enabled, all works as it should.
>> 
>> To "fix" the problem I replaced 'catch' with 'sfind', so that we can
>> conditionally call menu-unset only when the definition is present.
>> 
>> Please try the following patch. I tested it with enabled/disabled beastie
>> and loader_color over serial console. I would also like to get a review
>> from Devin Teske to see if this change is acceptable.
> 
> Yes, this patch makes the warning disappear.  Thanks!

Please also see additional notes in PR kern/163938 (additional patching to same file for same problem).
-- 
Devin

_____________
The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.


More information about the svn-src-head mailing list