diff options
author | ache <ache@FreeBSD.org> | 2006-09-22 18:59:03 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2006-09-22 18:59:03 +0000 |
commit | b4df5c3aa1faa663d51ff8369977d7ea2e139dd2 (patch) | |
tree | 374ccf0c3a022a6a1d454df432cd905baec65b06 /lib/libc | |
parent | eb7bc007cc135b4fb22c1c3c7fe6f0581a73c30f (diff) | |
download | FreeBSD-src-b4df5c3aa1faa663d51ff8369977d7ea2e139dd2.zip FreeBSD-src-b4df5c3aa1faa663d51ff8369977d7ea2e139dd2.tar.gz |
Remove code #ifndef'ed in prev. commit to stay in sync with OpenBSD
v1.21 which just do that.
Diffstat (limited to 'lib/libc')
-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; } |