Re: [ros-users] ROS_BUILD with optimization causes disfuncti…
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
Galego
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
This message is part of the following thread:
the complete thread tree sorted by date
User discussions at
2011-02-11 01:29
User discussions at
2011-02-11 02:08
Attachments:
Message as email
(text/plain)
(text/html)
Author:
User discussions
Date:
2011-02-11 01:46
UTC
To:
User discussions
Subject:
Re: [ros-users] ROS_BUILD with optimization causes disfunctionality
>
>
> "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