bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASSERT macro


From: Bruno Haible
Subject: Re: ASSERT macro
Date: Sat, 26 Dec 2009 10:32:02 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> Here's a way to use ASSERT in a few more files.  I'll probably push this
> tomorrow.

Yes, this looks good: wider applicability of the macro with minimal added
complexity.

When doing this, you can also remove the '#include <stdlib.h>' of the files
  tests/test-dirent-safer.c
  tests/test-dup-safer.c
  tests/test-freopen-safer.c
  tests/test-openat-safer.c
  tests/test-popen-safer.c
since nothing in these files then uses <stdlib.h> explicitly.

Bruno




reply via email to

[Prev in Thread] Current Thread [Next in Thread]