Re: re-stringing?(error 2)

From: Dana Luther (dtluther@mindspring.com)
Date: 07/16/00


-----Original Message-----
From: Charles Erwin <Mystikarc@aol.com>

>Crap, here is the code where I the mud seem sto discnnect and go bad.
>
>               /* set up here */
>  CREATE(OLC(ch->desc), struct oasis_olc_data, 1);
>  SET_BIT(GET_OBJ_EXTRA(k), ITEM_UNIQUE_SAVE);
>
>--->"dies here?"  SET_BIT(PLR_FLAGS(ch), PLR_WRITING);
>  iedit_setup_existing(ch->desc,k);
>  OLC_VAL(ch->desc) = 0;
[...snip...]

You might check into your iedit_setup_existing and review some of the
archives searching for the comments on copy_object.
If memory serves, iedit_setup_existing calls the copy_object, but there were
some issues with freeing strings.

Dana


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT