Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2007-07-24 11:20:25

On Jul 24, 2007, at 11:01 AM, Adrian Knoth wrote:

>> Which is also what POSIX says:
>> malloc.html
>> I vote with gleb -- return NULL, don't set errno, and be done with
> I'd like to second. Just if this is a poll ;)

Sounds like a pretty strong argument to me. This is easy to
implement; I'll do it.

Per Lisandro's comments: I think that if you need a random/valid
value for an STL map (or similar), malloc(0) is not a good idea to
use as a key.

Jeff Squyres
Cisco Systems