bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Segfaults on some libtool invocations due to sbrk() assumptions


From: Roman Rakus
Subject: Re: Segfaults on some libtool invocations due to sbrk() assumptions
Date: Wed, 27 Apr 2011 03:47:54 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

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 :)

RR



reply via email to

[Prev in Thread] Current Thread [Next in Thread]