Re: [CODE][NEWBIE][HELP]

From: Adam Pate (apate@cesales.com)
Date: 02/18/99


I know the aliases I have used to test this are less than 127 and it still
crashes.  Plain and simple, if you have an alias and you type save, the mud
dies.  I can't figure it out.   :(
Does anyone out there have some alias code that patches cleanly with
circle30bpl14???? Or maybe a fix for this situation?

-----Original Message-----
From: Acido <acido@DVMUD.NET>
To: CIRCLE@post.queensu.ca <CIRCLE@post.queensu.ca>
Date: Thursday, February 18, 1999 11:16 AM
Subject: Re:  [CODE][NEWBIE][HELP]


>At 09:56 AM 2/18/99 -0500, you wrote:
>
><SNIP>
>>void write_aliases(struct char_data *ch)
>>{
>>  FILE *file;
>>  char fn[127],*buf;
>The above line is bad :) it causes your mud to crash if the alias is longer
>than 127 chars.
>
>
>     +------------------------------------------------------------+
>     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>     +------------------------------------------------------------+


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