OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- trim any trailing whitespace
[uclinux-h8/uClibc.git]
/
libc
/
unistd
/
getopt-susv3.c
diff --git
a/libc/unistd/getopt-susv3.c
b/libc/unistd/getopt-susv3.c
index
73d7a7e
..
c22dd9f
100644
(file)
--- a/
libc/unistd/getopt-susv3.c
+++ b/
libc/unistd/getopt-susv3.c
@@
-84,7
+84,7
@@
int getopt(int argc, char * const argv[], const char *optstring)
retval = '?';
goto BAD;
}
-
+
if (s[1] == ':') { /* Option takes an arg? */
if (o[1]) { /* No space between option and arg? */
optarg = (char *)(o + 1);