Re: coding problem with a character creation addition (mem leak?)

From: George (greerga@DRAGON.HAM.MUOHIO.EDU)
Date: 09/16/97


On Tue, 16 Sep 1997, Sorren@usa.net wrote:

>A bool is defined as a byte, its a small change, that will not cause the
>memory leak.  While I agree I usually use bool for true or false 1 or 0.
>I overlooked it, and its trivial to change.  But, how could that cause a
>memory leak, which is my concern, or how could it cause my mud to crash
>periodically ?

I wasn't trying to point out any memory related things, just that you
should not try to put '2' in a 'bool' variable.

Periodic crashes occur for many reasons, sometimes very unrelated. :)

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | 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/08/00 PST