diff options
Diffstat (limited to 'lib/libc/stdlib/getopt_long.c')
-rw-r--r-- | lib/libc/stdlib/getopt_long.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/libc/stdlib/getopt_long.c b/lib/libc/stdlib/getopt_long.c index 6073444..d2087eb 100644 --- a/lib/libc/stdlib/getopt_long.c +++ b/lib/libc/stdlib/getopt_long.c @@ -568,18 +568,6 @@ start: } else optarg = nargv[optind]; } -#ifndef GNU_COMPATIBLE - /* XXX: disable test for :: if PC? (GNU doesn't) */ - else if (!(flags & FLAG_PERMUTE)) { - /* - * If permutation is disabled, we can accept an - * optional arg separated by whitespace so long - * as it does not start with a dash (-). - */ - if (optind + 1 < nargc && *nargv[optind + 1] != '-') - optarg = nargv[++optind]; - } -#endif place = EMSG; ++optind; } |