[Raw Msg Headers][Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: router problem
On Mon, Sep 13, 1999 at 02:06:36PM +0200, Artur Urbanowicz wrote:
> > [...]
> > > patch replaces sprintf() with snprintf() in router/libdb/bind.c,
> > > which solves my problem.
> > Neat, except that snprintf() isn't available at all UNIXes.
> > There is another way to do it too ... sprintf(buf, "%.300s" ...)
> I didn't sent the sources for snprintf() for two reasons. First,
> the most elegant implementation I found doesn't support floating-point
> formats (%f). And second, the function is already implemented in sfio,
> part of the zmailer :)
No, it isn't yet part of ZMailer.
It is in the CVS, but it hasn't been integrated in any way.
(And I think any 2.99.* won't have it integrated.)
> See the attachment or file sfio/src/lib/sfio/Stdio_b/sprintf.c
> > Does the crash happen in your system *only* when you run
> > router with "-t all" on ? [...]
> No, it happen during "router -dkn4".
Ok, no need to get to chase of mirages, then.
/Matti Aarnio <firstname.lastname@example.org>