RT-Thread/rt-thread — pull request #88 by grissiom (2013-05-15 12:20:07+00:00)
Title: simulator: fix serial_write

printf("%s") will print a NULL terminated string, while rt_serial_write
should print buffer for size length. This also fix segfault when the
string is not null terminated but specified by size.