Subject: lib/8930: getopt (..., char *const [], ...) not getopt (..., char *const *, ...)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ac131313@cygnus.com>
List: netbsd-bugs
Date: 12/01/1999 02:48:39
>Number:         8930
>Category:       lib
>Synopsis:       getopt (..., char *const [], ...) not getopt (..., char *const *, ...)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people (Library Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Dec  1 02:48:00 1999
>Last-Modified:
>Originator:     Andrew Cagney
>Organization:
>Release:        
>Environment:
Oops, its running N.T. at the moment.  It's a 1.4.1 i386.

>Description:
See the OpenGroup's web site.  getopt's (declaration found in <unistd.h>) 
second arg is:

	char *const []

and not

	char *const *


>How-To-Repeat:


>Fix:
Update <unistd.h> to match correct prototype.


>Audit-Trail:
>Unformatted: