summaryrefslogtreecommitdiff
path: root/apps/ChangeLog.txt
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-10 00:46:27 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-02-10 00:46:27 +0000
commitf0fef8e21fd0459b75b3e5faf318634e5befbdaf (patch)
treed9451e3904a1b2e84bce6b183ccaca719b78ff51 /apps/ChangeLog.txt
parent9768bf44e8f274eecc92f4eefbf0496f32649196 (diff)
downloadnuttx-f0fef8e21fd0459b75b3e5faf318634e5befbdaf.tar.gz
nuttx-f0fef8e21fd0459b75b3e5faf318634e5befbdaf.tar.bz2
nuttx-f0fef8e21fd0459b75b3e5faf318634e5befbdaf.zip
Fix a readline bug. If a NUL is received, it would return end-of-file
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5633 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/ChangeLog.txt')
-rw-r--r--apps/ChangeLog.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/ChangeLog.txt b/apps/ChangeLog.txt
index 5b61a1277..a22d2184a 100644
--- a/apps/ChangeLog.txt
+++ b/apps/ChangeLog.txt
@@ -517,3 +517,8 @@
match NuttX name change.
* apps/examples/ostest/restart.c: Add a test case to verify
task_restart().
+ * apps/system/readline.c: readline() now returns EOF on any failure
+ (instead of a negated errno value). This is because the underlying
+ read is based on logic similar to getc. The value zero was being
+ confused with a NUL. So if a NUL was received, the NSH session
+ would terminate because it thought it was the end of file.