if ( _PDCLIB_memlist.last == NULL )
{
_PDCLIB_memlist.first = splitnode;
- splitnode->next = NULL;
}
else
{
_PDCLIB_memlist.last->next = splitnode;
}
+ splitnode->next = NULL; /* TODO: This is bug #7, uncovered by testdriver yet. */
_PDCLIB_memlist.last = splitnode;
}
return (char *)newnode + sizeof( struct _PDCLIB_memnode_t );
TESTCASE( PAGETEST( 9 ) );
NODETRACE( 17 );
#else
- puts( "No testing of malloc() - test driver does not know internals of system function." );
+ puts( " NOTEST malloc() test driver is PDCLib-specific." );
#endif
return TEST_RESULTS;
}