In message <[email protected]>, Anthony Kimball writes: > >: > All I want is that a program gets NULL from malloc if there is no memory >: > available. I find that to be a very fundamental thing about malloc. > >: Do you have a solution? We don't. > >Make an sbrk variant which will pre-allocate backing store. >setenv MALLOC_PREALLOCATE > >Not so hard.
1. Demonstrate the need. 2. Implement it 3. Send patches. -- Poul-Henning Kamp FreeBSD coreteam member [email protected] "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to [email protected] with "unsubscribe freebsd-current" in the body of the message
