Fix getopt bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3310 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2011-02-23 02:08:33 +00:00
parent 2805c4beab
commit ab9715b9c6
5 changed files with 51 additions and 33 deletions
+4 -1
View File
@@ -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 19, 2011</p>
<p>Last Updated: February 21, 2011</p>
</td>
</tr>
</table>
@@ -2040,6 +2040,9 @@ nuttx-5.18 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;
a USB host HID keyboard configuraion.
* drivers/usbhost/hid_parser.c -- Leverages the LUFA HID parser written by
Dean Camera.
* lib/lib_getopt() -- Correct an error in the getopt() logic: On certain error
return cases, the state was not being reset correcly and incorrect behaviors
could occur on subsequent calls to getopt().
pascal-2.1 2011-xx-xx Gregory Nutt &lt;spudmonkey@racsa.co.cr&gt;