Re: [wayne@cs.toronto.edu: cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
Christopher Faylor wrote: On Fri, Nov 21, 2003 at 03:50:18PM -0500, J. Johnston wrote: J. Johnston wrote: Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down

Re: [wayne@cs.toronto.edu: Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
J. Johnston wrote: Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scanning in sscanf by a factor of 20? Thanks! Just to be pedentic, I realized that it&#x

Re: [wayne@cs.toronto.edu: Cygwin-1.5.5 sscanf on floats: 20 times slower than 2 years ago]

2003-11-21 Thread J. Johnston
Wayne Hayes wrote: Since scanf and the floating point arithmetic is implemented in newlib, I've redirected this message there. Does anybody have an idea, what could slow down float scanning in sscanf by a factor of 20? Thanks! Just to be pedentic, I realized that it's worse than a factor of 20.

Re: How to use __DYNAMIC_REENT__ correctly in multithreaded applications?

2003-08-25 Thread J. Johnston
Corinna Vinschen wrote: On Mon, Aug 25, 2003 at 02:25:07PM -0400, J. Johnston wrote: Corinna Vinschen wrote: Cygwin has a struct __stat64. We could also define a struct stat64 but this would be contrary to the effort to handle the new structures transparent. struct __stat64 is struct stat

Re: How to use __DYNAMIC_REENT__ correctly in multithreaded applications?

2003-08-25 Thread J. Johnston
Corinna Vinschen wrote: On Fri, Aug 22, 2003 at 04:01:44PM -0400, J. Johnston wrote: For clarification, I am not referring to a function, I am referring to the struct stat64 which is needed as an argument to _fstat64_r or _stat64 for that matter. There is no struct stat64 or struct _stat64

Re: How to use __DYNAMIC_REENT__ correctly in multithreaded applications?

2003-08-22 Thread J. Johnston
Corinna Vinschen wrote: On Fri, Aug 22, 2003 at 03:05:57PM -0400, J. Johnston wrote: A monster patch has been checked in. I found a problem in stdio64/fseeko64.c using struct stat when calling _fstat64_r. I could not switch to use stat64 as Cygwin has not defined it externally. For now

Re: How to use __DYNAMIC_REENT__ correctly in multithreaded applications?

2003-08-22 Thread J. Johnston
_GLOBAL_REENT instead of _REENT until there is a better solution. Thomas J. Johnston wrote: It's a design problem that isn't the fault of __DYNAMIC_REENT__ and is going to require a little bit of thought. One way you might bypass this problem is to create an fopen stub for your application a

Re: C99/C++ patch for /usr/include/math.h

2003-07-07 Thread J. Johnston
David, Could you provide more details on the failure. Does the latest version of the testcases test long double by any chance? The newlib version matches the C99 sample definition except that it is missing long double support. -- Jeff J. Billinghurst, David (CRTS) wrote: I have been working

Re: strtof is missing

2002-12-05 Thread J. Johnston
Chris, Can you clarify. Do you want me to duplicate the routine or stick with the solution I originally presented which is to rename the routine and leave a #define that maps the old name to the new one. -- Jeff J. Christopher Faylor wrote: On Thu, Dec 05, 2002 at 08:37:22PM +1100, Robert Co

Re: strtof is missing

2002-12-04 Thread J. Johnston
Corinna Vinschen wrote: On Sun, Nov 24, 2002 at 10:34:37AM +1000, Arseny Slobodjuck wrote: Sunday, November 24, 2002, 9:04:04 AM, you wrote: j> I use a pretty new Cygwin release and I notice that the strtof function is j> missing in stdlib.h. On my Linux system the function is declared in stdl