[JDEV] Requested change to xpt.c

Thomas Charron tcharron at nermail.ups.com
Tue Mar 30 16:57:47 CST 1999

	I have a bit of a problem with xpt.c.  Visual C++ complains about the str
var in expat_charData.  It wants the char dec to be a constant:

void expat_charData(void *userData, const char *s, int len)
	xptpool *xp = userData;
	xpt *x;
	char str[len + 1];

	Could we change the

	char str[len + 1];


	char *str;
	str = malloc(len + 1);

Thomas Charron
United Parcel Service
Northeast Region
"Moving at the speed of a T3 Trunk Line!"

More information about the JDev mailing list