summaryrefslogtreecommitdiff
path: root/nuttx/ChangeLog
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-10 19:40:56 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-10-10 19:40:56 +0000
commit95f5523197bf51b232a38993f3489346500819e7 (patch)
tree34680d933b0f7aa2fe3f63525a6bce83cb6a99c4 /nuttx/ChangeLog
parent825cd6c478c17dc00135182595c796fcd023854e (diff)
downloadnuttx-95f5523197bf51b232a38993f3489346500819e7.tar.gz
nuttx-95f5523197bf51b232a38993f3489346500819e7.tar.bz2
nuttx-95f5523197bf51b232a38993f3489346500819e7.zip
Fix fclose() return value when closing read-only file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4036 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r--nuttx/ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog
index c91093852..5c8b5c535 100644
--- a/nuttx/ChangeLog
+++ b/nuttx/ChangeLog
@@ -2155,4 +2155,8 @@
do not work with R61580 LCD.
* configs/pic32-starterkit: Beginning of a configuratin for the Microchip
PIC32 Ethernet Starter Kit.
+ * lib/stdio/lib_fclose.c: fclose() always returns an error (EOF) when it
+ closes a read-only file. This is because it calls flush() which will
+ fail on read-only files. No harm is done other that a bad value is
+ returned.