From nobody  Wed Dec 18 21:53:20 1996
Received: (from nobody@localhost)
          by freefall.freebsd.org (8.8.4/8.8.4) id VAA01969;
          Wed, 18 Dec 1996 21:53:20 -0800 (PST)
Message-Id: <199612190553.VAA01969@freefall.freebsd.org>
Date: Wed, 18 Dec 1996 21:53:20 -0800 (PST)
From: imp@village.org
To: freebsd-gnats-submit@freebsd.org
Subject: getopt should return -1 rather than EOF
X-Send-Pr-Version: www-1.0

>Number:         2247
>Category:       bin
>Synopsis:       getopt should return -1 rather than EOF
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    imp
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 18 22:00:01 PST 1996
>Closed-Date:    Mon Apr 27 12:11:44 MDT 1998
>Last-Modified:  Mon Apr 27 12:12:33 MDT 1998
>Originator:     Warner Losh
>Release:        FreeBSD -current as of Dec 18, 1996
>Organization:
The Village
>Environment:
n/a
>Description:
The POSIX standard states that getopt should return -1 when it reaches
the end of the args.  Earlier versions stated EOF explicitly.  Although
the constants are the same, we should go through the tree at some
point and fix this.
>How-To-Repeat:

>Fix:
Merge lite-2 :-).  It does this correctly.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->imp 
Responsible-Changed-By: imp 
Responsible-Changed-When: Wed Dec 18 23:05:16 MST 1996 
Responsible-Changed-Why:  
Because I entered this bug and I want to fix it :-) 
State-Changed-From-To: open->closed 
State-Changed-By: imp 
State-Changed-When: Mon Apr 27 12:11:44 MDT 1998 
State-Changed-Why:  
Because I have long ago fixed this bug (or jkh did indirectly). 
>Unformatted:
