Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: Shankar Unni 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 DOT 0fc206e7 DOT anurag AT proximity DOT com DOT au> <20021016164136 DOT 0c628384 DOT anurag AT proximity DOT com DOT 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 AT main DOT gmane DOT 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/