mbed library sources

Fork of mbed-src by mbed official

Revision:
212:34d62c0b2af6
Parent:
13:0645d8841f51
Child:
431:255afbe6270c
--- a/common/Stream.cpp	Sun May 25 08:00:07 2014 +0100
+++ b/common/Stream.cpp	Mon May 26 18:15:07 2014 +0100
@@ -19,7 +19,7 @@
 
 namespace mbed {
 
-Stream::Stream(const char *name) : FileLike(name) {
+Stream::Stream(const char *name) : FileLike(name), _file(NULL) {
     /* open ourselves */
     char buf[12]; /* :0x12345678 + null byte */
     std::sprintf(buf, ":%p", this);