[DGD] Re: String size limitations

Kris Van Hees aedil at alchar.org
Thu May 28 14:31:07 CEST 1998


On Thu, May 28, 1998 at 08:43:52AM +0200, Marc Spoorendonk wrote:
> On Wed, 27 May 1998, Caleb Tennis wrote:
> 
> > Is there a way to increase the maximum string size within the driver, or
> > is that even a good idea?  If it's not a good idea, has anyone else
> > successfully implemented intermud support within their mudlib?  Thanks.
> 
> It is defined in /include/limits.h , which is being generated by driver
> sourcefile config.c. So if you edit config.c and compile a new driver it
> should be ok.

The length field of a string is defined as 'unsigned short' which corresponds
to the choice of USHRT_MAX being 65535 (/usr/include/limits.h).  And there are
most probably a couple of other references to that implied size limit in the
driver sources.

Aedil



List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list