MOO-cows Mailing List Archive

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

Re: 1.8.0alpha3 delete_verb() bug and patch



I noticed this and was about to write on this list, but it looks
like someone beat me to it.  However, I would suggest the following
patch instead:

 Replace the following code in the bf_delete_verb() function in verbs.c:

     if ((e = validate_verb_descriptor(desc)) != E_NONE)
         /* Do nothing; e is already set. */

 With the following code:

     if ((e = validate_verb_descriptor(desc)) != E_NONE);
         /* Do nothing; e is already set. */

But that's just because that's how I like to program my C. :)
(And it's a one-byte patch :)

--Nate

(that's line 227 on verbs.c, by the way)


References:

Home | Subject Index | Thread Index