* "David Reid" <[EMAIL PROTECTED]> wrote: > > Colm MacCarthaigh wrote: > > > > > On Mon, Dec 29, 2003 at 01:39:28PM +0000, Ben Laurie wrote: > > > > > >>So, I've written a forensic logging module. What this does is log the > > >>request as soon as all the headers have been read, then log again when > > >>its complete. Any request that doesn't complete should be viewed with > > >>great suspicion! > > > > > > Cool, extremely useful in a lot of circumstances. Just one or two > > > questions though. Is next_id deliberately random? It doesn't seem > > > to get initialised anywhere, though that may be a feature. > > > > Static variables are initialised to zero. > > That's not true on all platforms, sadly :(
It's not platform dependent but compiler dependent, since it's a C standard compliance thing. I'm wondering if someone uses a compiler, which breaks half of the software out there? nd