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

Svante Signell svante.signell at gmail.com
Tue Apr 29 14:35:28 CEST 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrd_daemon.patch
Type: text/x-patch
Size: 16125 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20140429/d5219c27/attachment-0002.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rrd_client.patch
Type: text/x-patch
Size: 3960 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20140429/d5219c27/attachment-0003.bin 


More information about the rrd-developers mailing list