diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-21 22:24:50 +0200 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-11-15 23:44:53 -0500 |
commit | acccc93e084641861ca553317edb7da7791833b5 (patch) | |
tree | 3e18e6ed37e3710900624fd09657fbf7fb2c5c9f /arch/arm/src | |
parent | implement a private state for the uchar.h functions (diff) | |
download | grovel-acccc93e084641861ca553317edb7da7791833b5.tar.gz grovel-acccc93e084641861ca553317edb7da7791833b5.tar.xz |
getopt: fix optional argument processing
Processing an option character with optional argument fails if the
option is last on the command line. This happens because the
if (optind >= argc) check runs first before testing for optional
argument.
Diffstat (limited to 'arch/arm/src')
0 files changed, 0 insertions, 0 deletions