Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!cs.utexas.edu!rutgers!bellcore!tness7!texbell!killer!pollux!dalsqnt!rpp386!jfh From: jfh@rpp386.Dallas.TX.US (The Beach Bum) Newsgroups: comp.lang.c Subject: Re: Re: Contiguous address spaces Message-ID: <7950@rpp386.Dallas.TX.US> Date: 16 Oct 88 04:25:39 GMT References: <1988Oct13.210524.22909@ateng.ateng.com> <10130001@hpisod1.HP.COM> Reply-To: jfh@rpp386.Dallas.TX.US (The Beach Bum) Organization: River Parishes Programming, Dallas TX Lines: 19 In article <10130001@hpisod1.HP.COM> renglish@hpisod1.HP.COM (Robert English) writes: >The sh behavior which is (or was at one time) appalling was its >implicit assumption that memory was contiguous and grew in a particular >direction. It was particularly disgusting if the .data and .bss segments started after the stack segment and a brk(0) happened. The return from the supervisor would bus error and then core dump a UPAGE length core file. Not very helpful in debugging ... The Bourne shell is an excellent example of how NOT to write C programs. More recent versions are slightly better. S. R. Bourne's macros have been removed [ so I've been told - Praise Ghod! ], but there are still stupid computer tricks being pulled. -- John F. Haugh II +----Make believe quote of the week---- VoiceNet: (214) 250-3311 Data: -6272 | Nancy Reagan on Richard Stallman: InterNet: jfh@rpp386.Dallas.TX.US | "Just say `Gno'" UucpNet : !killer!rpp386!jfh +--------------------------------------