Re: [PROBABLY IDIOTIC] Prompt System

From: Daniel A. Koepke (dkoepke@california.com)
Date: 01/22/00


On Sat, 22 Jan 2000, Phillip A Ames wrote:

>   char *pprompt;// prompt string w/vars
>   char *prompt; // actual prompt string

I.e., pointers to some arbitrary memory.  If you changed them to NULL,
you'd at least not corrupt other memory before crashing, but I guess you
don't want it to crash at all.  You probably want an array of char rather
than arbitrary pointers to lala land.

-dak


     +------------------------------------------------------------+
     | 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