Re: [PATCH] Solve PATH_MAX issues in rrf_graph.{c, h} and rrd_tool.c
Tobias Oetiker <[email protected]> Fri, 16 Aug 2013 09:08:40 +0200 (CEST)
| Newsgroups | gmane.comp.db.rrdtool.devel |
|---|---|
| Message-ID | <[email protected]> |
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 [email protected] ++41 62 775 9902 / sb: -9900