apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Bloom" <...@covalent.net>
Subject RE: cvs commit: apr/poll/unix poll.c
Date Fri, 02 Aug 2002 18:59:31 GMT
>   Modified:    poll/unix poll.c
>   Log:
>     We safely ignore palloc failures [we can segv in the allocator].
>     We cannot ignore alloca/malloc failures.

We generally ignore memory allocation errors of all kinds in the server
and APR.  The general thought has always been that if you are actually
running out of memory or stack space, then your computer is hosed
anyway, and you are going to seg fault.  Why can't we follow the same
rules here?

Ryan
 


Mime
View raw message