From: Richard Henderson <richard@atheist.tamu.edu>
Subject: Re: A problem porting sbrk
Date: Sat, 22 Feb 1997 20:45:09 -0600 (CST) [thread overview]
Message-ID: <ee3fb872c673364b19bb7be652b019f9.axp-list@archive.invalid> (raw)
In-Reply-To: <199702220201.SAA22132@hedrock.ps.uci.edu>
> It gets about 100 Meg of memory, then dies.
> The last address is out of bounds, and I didn't get the -1 error
> indicator.
Hmm. Yep. This is one case where, either through design or
carelessness, we followed Linux/i386 instead of OSF/1. What is
happening is brk(2) always returns the current brk address. If
this is not what you'd requested, you know an error has occurred.
I'll have to investigate what would happen to libc if this were
changed. I think we can get away with it without changes to libc.
r~
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-02-23 2:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-22 2:01 A problem porting sbrk Steven White
1997-02-23 2:45 ` Richard Henderson [this message]
1997-03-04 19:02 ` gcc-2.7.2.2 / g77-0.5.20 on RH4.1 Lev D Gelb
[not found] <199702230245.UAA27778@atheist.tamu.edu>
1997-02-23 17:12 ` A problem porting sbrk Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1997-02-23 23:01 Steven White
[not found] <199702232301.PAA30446@hedrock.ps.uci.edu>
1997-02-24 17:29 ` Richard Henderson
1997-02-24 19:38 Steven White
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox