[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tests: remove unnecessary dependency
From: |
Bruno Haible |
Subject: |
Re: tests: remove unnecessary dependency |
Date: |
Mon, 20 Jun 2011 16:42:01 +0200 |
User-agent: |
KMail/1.9.9 |
Eric Blake wrote:
> I seem to recall that the mere use of the progname module was sufficient
> to satisfy a link failure that would otherwise occur if error() is
> called (via xmalloc or similar), even if the test-foo.c didn't directly
> use "progname.h".
Yes, this can happen. In these cases, it is better to include "progname.h"
and call set_program_name, though.
> as long as things still link on all platforms, then I'm okay with this change.
Yes, I verified this on 2 of the relevant platforms.
Bruno
--
In memoriam Neda Agha-Soltan <http://en.wikipedia.org/wiki/Neda_Agha-Soltan>