ok, lets try this again. i should have listened to the reversed patch complaints :)
this is your current master patch, i guess no need to apply the _new patch. looks much better, but this is a 32 bit system, where sizeof(size_t) == sizeof(int). if you cant make all your strings const, then turn your casts around, and make the function take the const type. casting to const to check the length wont hurt anything, and should silence the errors. allan