diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-18 15:57:45 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-18 15:57:45 +0000 |
commit | 6a14fe48c61536241f4071b75df0bf8773c72e42 (patch) | |
tree | ff8946012e6aaf12b9d61e1a43fde58fdbb100df /nuttx/ChangeLog | |
parent | a5d2dde9a837218f211a3a7210e247474bfa3680 (diff) | |
download | px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.tar.gz px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.tar.bz2 px4-nuttx-6a14fe48c61536241f4071b75df0bf8773c72e42.zip |
Disable line buffering if the file is opened in binary mode; Also fix a couple of fopen/fdopen bugs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4630 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 6b30a3174..6457739f4 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -2663,4 +2663,11 @@ initial check-in is just a stm3210e-eval driver with renaming). * sched/sched_setscheduler.c: Correct successful return value (Contributed by Richard Cochran). + * include/fcntl.h and lib/stdio: Ignore CONFIG_STDIO_LINEBUFFER is the + file was opened in binary mode. + * lib/stdio/lib_fopen.c: Correct an error in parsing open mode string. The + plus sign may not appear right after the basic mode. For example, "r+", "rb+", + and "r+b" are all value open strings and mean the same thing. + * lib/stdio/lib_fopen.c: Correct return errno value from f_open() and + f_fdopen() if the open mode string is invalid. |