Re: NNTPC: stats bug fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 Jul 1998, Julian Assange wrote:

> Right. But they are never naked (at least in this example). The hope
> here is that they will be demoted to ints after subtraction. This hope
> seems to payoff under gcc - but then gcc has a tightly integrated type
> checking (and thus presumably demoting) interface to *printf. It might
> be worth while force casting these back to ints after subtraction, or
> using bigToStr() (from src/http.c). The problem with the latter method
> is that printf isn't a lazy evaluator and bigToStr uses static
> buffers. Has anyone actually had a problem with the above code?

Yes, it causes a seg fault under Solaris 2.6 x86.

---
Mike Wade (mwade@cdc.net)
Senior System Administrator
CDC Internet, Inc.


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux