Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
Path: not-for-mail
From: Shankar Unni <shankar@cotagesoft.com>
Subject: Re: Is cygwin newlib reentrant??
Date: Mon, 21 Oct 2002 11:03:24 -0700
Lines: 16
Message-ID: <3DB4416C.2050904@cotagesoft.com>
References: <20021011112256.0fc206e7.anurag@proximity.com.au> <20021016164136.0c628384.anurag@proximity.com.au>
NNTP-Posting-Host: adsl-64-165-207-58.dsl.snfc21.pacbell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: main.gmane.org 1035223346 8836 64.165.207.58 (21 Oct 2002 18:02:26 GMT)
X-Complaints-To: usenet@main.gmane.org
NNTP-Posting-Date: Mon, 21 Oct 2002 18:02:26 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 (Compact)
X-Accept-Language: en-us, en

On 10/15/2002 11:41 PM, Anurag Sharma wrote:

> I haven't  had any response to this question. Can someone please tell me
> who the maintainer of the cygwin/newlib package is? 

Well, what the -DREENTRANT_SYSCALLS_PROVIDED does is to compile newlib 
so that guaranteed reentrant versions of certain system calls are 
provided, with a "_r" tacked on to their names. E.g. gmtime() and 
gmtime_r(). localtime() and localtime_r().

And when I run "nm /usr/lib/libc.a | grep _r", I see these entry points. 
So on a wild guess, yes, I'd say that the cygwin newlib has been 
compiled with -DREENTRANT_SYSCALLS_PROVIDED.
--
Shankar.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

