Mercurial > gnulib
changeset 2858:3508e68e9811
(_getopt_internal): Update from glibc.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 10 Sep 2000 07:31:44 +0000 |
parents | 36fd68eee196 |
children | 4a5107432025 |
files | lib/getopt.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/getopt.c Sat Sep 09 16:02:37 2000 +0000 +++ b/lib/getopt.c Sun Sep 10 07:31:44 2000 +0000 @@ -671,7 +671,8 @@ pfound = p; indfound = option_index; } - else if (pfound->has_arg != p->has_arg + else if (long_only + || pfound->has_arg != p->has_arg || pfound->flag != p->flag || pfound->val != p->val) /* Second or later nonexact match found. */