Merged revisions 52465,52478 from trunk
........
r52465 | chris_kohlhoff | 2009-04-18 23:27:53 +1000 (Sat, 18 Apr 2009) | 3 lines
POSIX allows successful system calls to modify errno, so always clear the
error_code if the result indicates success. Fixes #2953.
........
r52478 | chris_kohlhoff | 2009-04-19 14:15:17 +1000 (Sun, 19 Apr 2009) | 3 lines
Don't include termios.h unless BOOST_ASIO_HAS_SERIAL_PORT is defined.
Fixes #2917.
........