Re: Segfaults on some libtool invocations due to sbrk() assumptions
From:
Chet Ramey
Subject:
Re: Segfaults on some libtool invocations due to sbrk() assumptions
Date:
Tue, 26 Apr 2011 15:38:44 -0400
> 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
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU chet@case.edu http://cnswww.cns.cwru.edu/~chet/