[rrd-developers] RFC: [PATCH] Portability by avoiding PATH_MAX

Tobias Oetiker tobi at oetiker.ch
Tue Apr 29 19:34:10 CEST 2014

Hi Svante,

cool ... have you seen that there is now the beginning of a
test-suite in the HEAD branch of on github ?


Today Svante Signell wrote:

> Hello,
> Here are updated patches for rrdtool/rrd_client.c and
> rrdtool/rrd_daemon.c. We had some discussions in August last year. I
> created a branch and the diffs are against latest git. I've run the
> code, especially rrd_daemon with valgrind under Linux, but need some
> help to check that also rrd_client works OK (maybe rrd_daemon too). Can
> you help me with test cases to run the execute the code modified paths.
> I know one application using rrdtool, lm-sensors (build-dependency on
> librrd2-dev), but am not sure my computers have the sensors to be a good
> test case.
> Note that the modified functions get_path() and get_abs_path() are
> static, so they don't change the API.
> Thanks,
> Svante Signell

Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
www.oetiker.ch tobi at oetiker.ch +41 62 775 9902

More information about the rrd-developers mailing list