Bug 214319

Summary: ficl uuid-to-string is broken
Product: Base System Reporter: Toomas Soome <tsoome>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Many People CC: bsdimp
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Toomas Soome freebsd_committer 2016-11-08 12:57:50 UTC
First, the uuid-to-string description should be:

uuid-to-string ( addr' -- addr n | -1 )

and ficlUuidToString() has broken test:

        if (status != uuid_s_ok) {
                stackPushPtr(pVM->pStack, uuid);
                stackPushINT(pVM->pStack, strlen(uuid));

it should use == instead.