[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Add 'safe-alloc' module
From: |
Bruno Haible |
Subject: |
Re: [PATCH] Add 'safe-alloc' module |
Date: |
Sun, 22 Feb 2009 01:56:15 +0100 |
User-agent: |
KMail/1.9.9 |
David Lutterkort wrote:
> > OK to commit that?
>
> Yes, absolutely.
Committed. Another tiny change that I forgot to mention: A unit test (or any
other program) needs an explicit 'return 0;' at the end of the main() function.
In C99 and C++, when there is no return statement at the end of main(), the
compiler provides an implicit zero exit code. But in ANSI C there is no such
provision.
Bruno