summaryrefslogtreecommitdiff
path: root/nuttx/Documentation
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-01 02:32:50 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-03-01 02:32:50 +0000
commitb9fd3d2acfda5074d62e671c6edcdaed9fdc40c9 (patch)
tree9488da6f278c95fd921b2e552334be87a869b79d /nuttx/Documentation
parent587a5b65f3f48805150f8a0d8db9ce34f9cabfda (diff)
downloadpx4-nuttx-b9fd3d2acfda5074d62e671c6edcdaed9fdc40c9.tar.gz
px4-nuttx-b9fd3d2acfda5074d62e671c6edcdaed9fdc40c9.tar.bz2
px4-nuttx-b9fd3d2acfda5074d62e671c6edcdaed9fdc40c9.zip
Fix NSH redirection hang
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3326 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/Documentation')
-rw-r--r--nuttx/Documentation/NuttX.html16
1 files changed, 15 insertions, 1 deletions
diff --git a/nuttx/Documentation/NuttX.html b/nuttx/Documentation/NuttX.html
index 52386107a..15ee60dae 100644
--- a/nuttx/Documentation/NuttX.html
+++ b/nuttx/Documentation/NuttX.html
@@ -8,7 +8,7 @@
<tr align="center" bgcolor="#e4e4e4">
<td>
<h1><big><font color="#3c34ec"><i>NuttX RTOS</i></font></big></h1>
- <p>Last Updated: February 27, 2011</p>
+ <p>Last Updated: February 28, 2011</p>
</td>
</tr>
</table>
@@ -2087,6 +2087,20 @@ nuttx-5.19 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
* NSH: 'mem' command renamed to 'free'. Output is now more similar to the
Linux 'free' command.
+ * NSH: Correct a redirection bug in NSH. The following would not work; it
+ resulted in a hang after the 'cat /dev/fifo':
+
+ nsh> mkfile /dev/fifo
+ nsh> cd /tmp # /tmp is a mounted RAM disk
+ nsh> cat /dev/fifo > test.txt &
+ nsh> echo "This is a test" > /dev/fifo
+
+ The error was caused because (1) there was a path that resulted in stdout
+ being closed (the "hang") and also (2) the 'cat' command was always outputting
+ to stdout, not to the redirected file descriptor. Now:
+
+ nsh> cat test.txt
+ This is a test
pascal-2.1 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;