> On 04/26/2011 09:38 PM, Chet Ramey wrote: > >> The attached patch fixes the crashes by simply removing the > >> caching, which is useless anyway since libc already avoids calling the > >> kernel system call when sbrk is given 0. > > Thanks for the patch. It's dangerous to assume the whole world is > > Linux or glibc. > > > > Chet > > > > > Hmm... without any knowledge about of the issue or glibc (and forks), I > like this. Don't assume only glibc, but keep in mind, if it is right. > This is just a note, just keep it in mind :)
It's good advice. In this case, the original bug report saying the caching "is useless anyway" is a Linux and glibc-specific assumption. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/