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