delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/02/03/15:43:27

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Date: Sun, 3 Feb 2002 15:43:23 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin-developers AT cygwin DOT com
Cc: newlib AT sources DOT redhat DOT com, nhv AT cape DOT com
Subject: Re: src/newlib ChangeLog libc/include/math.h libc/ ...
Message-ID: <20020203204323.GA30911@redhat.com>
Reply-To: newlib AT sources DOT redhat DOT com
Mail-Followup-To: cygwin-developers AT cygwin DOT com, newlib AT sources DOT redhat DOT com,
nhv AT cape DOT com
References: <20020203092419 DOT 25447 DOT qmail AT sources DOT redhat DOT com> <003e01c1acf2$48c94e60$a300a8c0 AT nhv>
Mime-Version: 1.0
In-Reply-To: <003e01c1acf2$48c94e60$a300a8c0@nhv>
User-Agent: Mutt/1.3.23.1i

Sounds like an issue for newlib AT sources DOT redhat DOT com.

cgf

On Sun, Feb 03, 2002 at 03:35:12PM -0500, Norman Vine wrote:
>FYI
>See below
>
>>-----Original Message-----
>>From: newlib-cvs-owner AT sources DOT redhat DOT com
>>[mailto:newlib-cvs-owner AT sources DOT redhat DOT com]On Behalf Of
>>mrg AT sources DOT redhat DOT com
>>Sent: Sunday, February 03, 2002 4:24 AM
>>To: newlib-cvs AT sources DOT redhat DOT com
>>Subject: src/newlib ChangeLog libc/include/math.h libc/ ...
>>
>>
>>CVSROOT:	/cvs/src
>>Module name:	src
>>Changes by:	mrg AT sources DOT redhat DOT com	2002-02-03 01:24:19
>>
>>Modified files:
>>	newlib         : ChangeLog
>>	newlib/libc/include: math.h
>>	newlib/libc/include/sys: config.h reent.h
>>	newlib/libc/reent: reent.c reent.tex signgam.c
>>	newlib/libc/stdio: findfp.c getchar.c iprintf.c perror.c
>>	                   printf.c putchar.c puts.c scanf.c tmpnam.c
>>	                   vprintf.c vscanf.c
>>	newlib/libc/stdlib: atexit.c drand48.c dtoa.c exit.c lcong48.c
>>	                    ldtoa.c lrand48.c mallocr.c mprec.c
>>	                    mrand48.c mstats.c rand.c rand48.c rand48.h
>>	                    seed48.c srand48.c
>>	newlib/libc/string: strtok.c
>>	newlib/libc/time: asctime.c lcltime.c
>>	newlib/libm/math: w_gamma.c w_lgamma.c wf_gamma.c wf_lgamma.c
>>
>>Log message:
>>	* implement a new `struct _reent' that is significantly
>>smaller.  use this
>>	if _REENT_SMALL is defined in config.h.  define this
>>for xstormy16.
>>
>>Patches:
>
><snip>
>
>http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/newlib/libc/stdio/tmpnam.c.
>diff?cvsroot=src&r1=1.1.1.1&r2=1.2
>
>< snip >
>
>The above patch breaks the Cygwin build for me
>
>My guess is that this is the desired fix
>
>Cheers
>
>Norman
>
>===================================================================
>RCS file: /cvs/src/src/newlib/libc/stdio/tmpnam.c,v
>retrieving revision 1.2
>diff -u -r1.2 tmpnam.c
>--- tmpnam.c	2002/02/03 09:24:13	1.2
>+++ tmpnam.c	2002/02/03 19:58:45
>@@ -146,7 +146,9 @@
>   if (s == NULL)
>     {
>       /* ANSI states we must use an internal static buffer if s is NULL */
>+#ifdef _REENT_SMALL
>       _REENT_CHECK_EMERGENCY(p);
>+#endif
>       result = _REENT_EMERGENCY(p);
>     }
>   else
>
>

-- 
Please do not send me personal email with cygwin questions.
Use the resources at http://cygwin.com/ .

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019