Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] [OMPI svn-full] svn:open-mpi r20568
From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2009-02-17 17:06:30


* Jeff Squyres wrote on Tue, Feb 17, 2009 at 07:01:01PM CET:
> On Feb 17, 2009, at 11:18 AM, George Bosilca wrote:
>> I guess that if the free function supports the NULL pointer we should
>> do the same...
> I'll agree with that if we know for sure that free(NULL) is universally
> supported. You mentioned "a few man pages" -- how universal is this
> support?

The Cray T3E used to barf on free(NULL). I haven't personally
encountered anything since. C89 requires it to work, and GNU
software generally assumes it to work since a couple of years.