The big NULL replacement party part 3.

Getting there I think.
This commit is contained in:
Jason Felds
2013-05-03 23:16:39 -04:00
parent ba59dd1656
commit a3f37dc2b4
73 changed files with 1880 additions and 1880 deletions
+2 -2
View File
@@ -119,9 +119,9 @@ static void *CreateStack( int size )
p = (char *) mmap( NULL, size+PageSize, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0 );
if( p == (void *) -1 )
return NULL;
return nullptr;
// if( posix_memalign( (void**) &p, PageSize, RealSize ) != 0 )
// return NULL;
// return nullptr;
if( find_stack_direction() < 0 )
{