From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199702230245.UAA27778@atheist.tamu.edu> Date: Sat, 22 Feb 1997 20:45:09 -0600 (CST) From: Richard Henderson Subject: Re: A problem porting sbrk 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