We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70c8bcf + c6d2c81 commit 165d253Copy full SHA for 165d253
libraries/mbed/common/retarget.cpp
@@ -122,7 +122,7 @@ static inline int openmode_to_posix(int openmode) {
122
if (openmode & _LLIO_APPEND) posix |= O_APPEND;
123
if (openmode & _LLIO_TRUNC ) posix |= O_TRUNC;
124
#endif
125
- return posix;
+ return posix & ~O_BINARY;
126
}
127
128
extern "C" FILEHANDLE PREFIX(_open)(const char* name, int openmode) {
0 commit comments