On Thu, 21 Jan 1999, Anil Mahajan wrote: > Yes, file_to_string_alloc uses an array to store the data from the >file before it allocates it to a string. If the file is large than >the string, the MUD will most likely crash. > The easiest way to fix this is just to make the array larger. I doubt >it's the _best_ solution, but it will fix it (until you're file gets bigger >than this new array). But it should bail before overflowing the array, unless somehow the detection doesn't work anymore. Last time I had a big file it worked. -- George Greer greerga@circlemud.org http://www.circlemud.org/~greerga/ +------------------------------------------------------------+ | 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