[rrd-users] Re: Code change request: Longer DS names please!

Tobias Oetiker oetiker at ee.ethz.ch
Mon Jul 15 07:24:17 MEST 2002


Today rik wrote:

>
>
> --- rrd_format.h        Wed May 22 18:07:21 2002
> +++ /tmp/rrd_format.h   Mon Jul 15 01:07:34 2002
> @@ -151,7 +151,7 @@
>
>
>  /* The magic number here is one less than DS_NAM_SIZE */
>  #define DS_NAM_FMT    "%19[a-zA-Z0-9_-]"
> -#define DS_NAM_SIZE   20
> +#define DS_NAM_FMT    "%32[a-zA-Z0-9_-]"
> +#define DS_NAM_SIZE   33
>
>  #define DST_FMT    "%19[A-Z]"
>  #define DST_SIZE   20

apart from breaking all existing rrd databases your patch would be
fine ...

tobi
>
> --
> Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list