RT-Thread/rt-thread — pull request #353 by grissiom (2014-10-14 08:22:46+00:00)
Title: Misc fix

Bugs found by STACK:

https://github.com/xiw/stack

and some misc enhancements.