Andy Ross wrote:

You're right.  The property system does not support arbitrary byte
arrays in the string value.  The SGPropertyNode::setStringValue()
interface supports only C strings (a char* with no length), which are
always nul terminated.

Well, char* doesn't require it to be NULL terminated and strlen()(and strcpy) is only used in one function. So in theory it might not be too hard to switch from string to raw, however this requires the length to be specified when assigning a property.

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to