[ros-users] ROS_BUILD with optimization causes disfunctionality
Josh Faust
jfaust at willowgarage.com
Fri Feb 11 09:46:36 UTC 2011
>
>
> "const char ESC_CHARS[] = {'\r','\n'};"
>
This doesn't have a null terminator, which could definitely cause problems.
The string "\r\n" automatically null terminates.
Josh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110211/d721f372/attachment-0003.html>
More information about the ros-users
mailing list