[rrd-developers] [PATCH] Solve PATH_MAX issues in rrf_graph.{c, h} and rrd_tool.c

Tobias Oetiker tobi at oetiker.ch
Fri Aug 16 09:08:40 CEST 2013


Hi Svante,

Yesterday Svante Signell wrote:

> Hello,
>
> Attached is an updated Debian patch for 1.4.7-2, from 2009, to avoid
> PATH_MAX problems for GNU/Hurd in rrd_graph.{c,h} and rrd_tool.c. This
> patch is conditioned on if MAXPATH (and __GLIBC__) is defined or not.
>
> I would suggest to avoid PATH_MAX (MAXPATH) if possible to maximize
> portability and reduce code cluttering. Depending on your decision, the
> rest of my patches will be conditioned on PATH_MAX or not (there are
> also a number of other Debian patches pending).

that patch looks pretty neat I think ...

would you integrate it in your upcoming patch ?

cheers
tobi

>
> Thanks,
> Svante
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list