On Fri, 20 May 2005, Dan Sugalski wrote:
Well, mostly. string->cstring conversion is potentially lossy, if for no other reason than embedded nulls will get in your way. I see we're not exposing anything to do that, though, which we ought to fix.
pascal-style strings (ie, char* and length) are the canonical way to fix this. C code generally doesn't have too much trouble replacing strcpy with memcpy, etc... --scott
Sudan insurgent SGUAT HTKEEPER LCFLUTTER chemical agent hack Semtex Iraq JMWAVE interception $400 million in gold bullion KUPALM SSBN 731
( http://cscott.net/ )