Large memory allocation errors

Russ Allbery rra at stanford.edu
Sun Oct 31 06:08:59 UTC 1999


James Brister <James_Brister at iengines.com> writes:

>> I think we should not try to tell things this way to end-users either.
>> We'd better use the proper %lu and add some extra check that logs the
>> error.

> I agree.

Done.

> Getting __FILE__ and __LINE__ in the message would be useful too for bug
> hunting.

Hm.  That's a good idea.  How does one go about detecting whether a
compiler supports __FILE__ and __LINE__?  And what data type is __LINE__?

-- 
Russ Allbery (rra at stanford.edu)         <URL:http://www.eyrie.org/~eagle/>


More information about the inn-workers mailing list