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
View File
@@ -1463,5 +1463,9 @@
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().