Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <412A3A90.8020904@redhat.com>
Date: Mon, 23 Aug 2004 14:42:24 -0400
From: Jeff Johnston <jjohnstn@redhat.com>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 Netscape/7.1
MIME-Version: 1.0
To: newlib@sources.redhat.com
Cc: cygwin@cygwin.com
Subject: Re: __const use instead of const in one place
References: <s123778d.062@gateway.crch.hawaii.edu> <20040819084216.GB11034@cygbert.vinschen.de>
In-Reply-To: <20040819084216.GB11034@cygbert.vinschen.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Corinna Vinschen wrote:
> On Aug 18 15:36, Peter Hinely wrote:
> 
>>Hi,
>>
>>I noticed that __const is used in one and only one place in the header files.  
>>
>>Line 76 of \user\include\sys\unistd.h
>>
>>char 	_EXFUN(*getpass, (__const char *__prompt));
>>
>>That's the only place in all the header files.  Shouldn't it be changed to const?  
> 
> 
> That's a newlib issue.  I've redirected to the newlib mailing list.
> 
> Corinna
>

A patch has just been checked in to make the getpass() prototype consistent with 
other function prototypes.

-- Jeff J.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

