[CODE] Ascii pfile/diskio.c fix

From: Roger Smith (sexycoder@hotmail.com)
Date: 06/08/99


I'm having trouble with my email inbox, so another answer could have been
sent within the last couple of hours.  I got the fix from a message from the
list a few months ago i believe.  This worked for me.  In "diskio.c", change
the two instances of:

if(!(fbfl->name = malloc(strlen(fname)))) {

to

if(!(fbfl->name = malloc(strlen(fname) + 1))) {

-Roger


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com


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