diff --git a/src/lib/libc_old/stdlib/malloc.c b/src/lib/libc_old/stdlib/malloc.c index 3e8c943..d192072 100644 --- a/src/lib/libc_old/stdlib/malloc.c +++ b/src/lib/libc_old/stdlib/malloc.c @@ -64,7 +64,7 @@ return(tmpDesc); } - if ((emptyKernDesc = (struct memDescriptor *)getPage(4)) == 0x0) + if ((emptyKernDesc = (struct memDescriptor *)getPage(0x4)) == 0x0) /* zero out the memory so we know there is no garbage */ memset(emptyKernDesc,0x0,0x4000); @@ -284,6 +284,15 @@ /*** $Log$ + Revision 1.5 2004/07/28 00:17:05 reddawg + Major: + Disconnected page 0x0 from the system... Unfortunately this broke many things + all of which have been fixed. This was good because nothing deferences NULL + any more. + + Things affected: + malloc,kmalloc,getfreepage,getfreevirtualpage,pagefault,fork,exec,ld,ld.so,exec,file + Revision 1.4 2004/06/17 14:18:41 reddawg Fixed some potential problems