[collectd] [PATCH] Initialize libsensors with NULL as parameter

Michael Stapelberg michael+collectd at stapelberg.de
Fri Feb 26 14:17:17 CET 2010

Hi Florian,

Excerpts from Florian Forster's message of Do Feb 25 23:41:19 +0100 2010:
> I'm a bit concerned about backwards compatibility here: Previously,
> packagers were able to override the default config file by defining
> SENSORS_CONF_PATH themselves.
Nobody should do that, IMO ;-).

>   * If the libsensors version is right, define SENSORS_CONF_PATH to NULL
>     if it is not already defined.
>   * Put "if (conffile != NULL) { ... }" around the code doing the
>     stat(2).
Sounds good. Can you implement that? My autoconf-fu does not suffice for
checking for a specific version of a library.

Best regards,

More information about the collectd mailing list