mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-18 06:30:05 +00:00
Updated from ../gpl2lgpl.sed /home/gd/gnu/lib/getopt.c
This commit is contained in:
parent
c6de696871
commit
e335fa388a
@ -3,7 +3,7 @@
|
|||||||
"Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu
|
"Keep this file name-space clean" means, talk to roland@gnu.ai.mit.edu
|
||||||
before changing it!
|
before changing it!
|
||||||
|
|
||||||
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95
|
Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 1996
|
||||||
Free Software Foundation, Inc.
|
Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of the GNU C Library. Its master source is NOT part of
|
This file is part of the GNU C Library. Its master source is NOT part of
|
||||||
@ -435,6 +435,13 @@ _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
|
|||||||
{
|
{
|
||||||
/* Advance to the next ARGV-element. */
|
/* Advance to the next ARGV-element. */
|
||||||
|
|
||||||
|
/* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been
|
||||||
|
moved back by the user (who may also have changed the arguments). */
|
||||||
|
if (last_nonopt > optind)
|
||||||
|
last_nonopt = optind;
|
||||||
|
if (first_nonopt > optind)
|
||||||
|
first_nonopt = optind;
|
||||||
|
|
||||||
if (ordering == PERMUTE)
|
if (ordering == PERMUTE)
|
||||||
{
|
{
|
||||||
/* If we have just processed some options following some non-options,
|
/* If we have just processed some options following some non-options,
|
||||||
|
Loading…
Reference in New Issue
Block a user