Re: - bug in get_line() ?

From: George (greerga@circlemud.org)
Date: 12/27/98


On Sun, 27 Dec 1998, Tom Dailey wrote:

>We have modified our mud extensively, so posting tons of code would be pointless, but
>a quick few questions:
>
>1.  Has anyone noticed a bug with get_line() in utils.c that has to do w/ zones files and
>compiling within devstudio 6.0?  I can get the mud to both compile and run at command line
>but when I compile and run within devstudio, it crashes within get_line.  It actually points to
>db.c where the zones are loaded, but the error, eventually leads to the get_line() in utils.c.
>
>2.  George, I tried your get_line change in your cvs directory and it then compiles but crashes
>during boot in our config.c.  I don't think it's your new change that's causing the error.  It has
>something to do w/ the pointer getting filled w/ junk.  Again, most likely due to our heavily
>changed config.c.

log() the malloc'd pointer and have get_line() log what argument it is
passed.

--
George Greer
greerga@circlemud.org
http://www.van.ml.org/CircleMUD/OasisOLC/


     +------------------------------------------------------------+
     | 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 : 12/15/00 PST