Re: BPL14 with OLC2.0, Autoeq, and Copyover-5

From: Ryan Guthrie (circle@NS2.DKSERVER.DK)
Date: 08/25/98


The problem is that :
CREATE(newd->history, char *, HISTORY_SIZE);
is missing from init_descriptor in comm.c although it does exist in
new_descriptor.  Thanks for the hint George:)

On Tue, 25 Aug 1998, George wrote:

> On Tue, 25 Aug 1998, Ryan Guthrie wrote:
>
> >copyover.  This is because history_pos in comm.c is NULL according to gdb.
> >I have compared the refrenced of history_pos to the code before i added
> >copyover, didn't see anything.
>
> history_pos isn't NULL, it's an integer. history is the NULL pointer.
>
> >-->   if (t->history[t->history_pos])
> >        free(t->history[t->history_pos]);       /* Clear the old line. */
>
> Do you have this line in comm.c?
>
>   CREATE(newd->history, char *, HISTORY_SIZE);
>
> --
> George Greer, greerga@circlemud.org | Genius may have its limitations, but
> http://mouse.van.ml.org/ (not done) | stupidity is not thus handicapped.
> http://www.van.ml.org/CircleMUD/    |                  -- Elbert Hubbard
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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



This archive was generated by hypermail 2b30 : 12/15/00 PST