On Mon, Sep 17, 2001 at 02:18:16PM -0500, Gibbs Tanton - tgibbs wrote:
> The hourly should be fine...can you do me one other favor and run the
> following c snippet through Purify:
> 
> int main() {
>   char* c = (char*)malloc(0);

I can tell without Purify that malloc(0) is unportable.
(As is calling it without <stdlib.h> inclusion, but I'm being mean :-)

>   printf( "%.*s\n", 0, c );
>   return 0;
> } 

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Reply via email to