On 8/20/07, Howard Chu <hyc@symas.com> wrote:If a malloc fails in a one-shot command, that means the runtime environment is broken, not any of our code. Whether it is very probable or totally unlikely is irrelevant in that case.
That's one opinion. The fact that most apps I've checked so far actually guard against "broken environment" speaks for itself.
This is just common sense, life is short, put the effort where it matters. -- -- Howard Chu Chief Architect, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/