Subject: Re: syslog_r (Re: CVS commit: src/lib/libc)
To: None <>
From: David Laight <>
List: tech-userlevel
Date: 10/26/2006 21:32:22
On Thu, Oct 26, 2006 at 10:23:56PM +0200, Joerg Sonnenberger wrote:
> On Thu, Oct 26, 2006 at 10:17:34PM +0200, Jaromir Dolecek wrote:
> > BTW, how hard it would be to make __dtoa() use caller-provided
> > buffer and thus making it reentrant & async-signal-safe?
> gdtoa internally keeps a number of high-precision integers in a cache.
> Those are dynamically allocated and therefore not async-signal safe. I
> don't think that can be fixed non-trivally as it is a property of the
> algorithm.

Are they constants? or do they depend on the input data ?


David Laight: