Bizzare Bourne Shell (well, not really)

kds at intelca.UUCP kds at intelca.UUCP
Wed May 16 08:51:03 AEST 1984


>The Unix Programmer's Manual says that all newly allocated memory is
>initialized to zero......
>.........Indeed, Unix only zeros memory when a new MMU
>segment of memory is allocated.  Also, this code will generate a memory
>fault if p happens to point to a new MMU segment.  I contend that this

And Eunice does this also, also, it seems that even calls to
get memory using malloc, etc. do not always create zeroed out memory
areas (as someone suggested).  In addition, unless you set some special 
loader flags you may not get contiguous memory allocated, which creates mucho
problems with, for example, nroff! (and, apparently, sh)

But, its better than RAW VMS...verbum sat sapentia
-- 
Ken Shoemaker, Intel, Santa Clara, Ca.
{pur-ee,hplabs,ucbvax!amd70,ogcvax!omsvax}!intelca!kds



More information about the Comp.unix.wizards mailing list