patch for rrdtool-1.2.19
Robin Gruyters
r.gruyters at yirdis.nl
Thu May 3 02:43:55 EDT 2007
Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119
Hi Carter,
Shouldn't this be \J? Because it is still not working for me.
[...]
ERROR: Unknown control code at the end of ' src * \J'
[...]
Regards,
Robin Gruyters
Network and Security Engineer
Yirdis B.V.
I: http://yirdis.com
P: +31 (0)36 5300394
F: +31 (0)36 5489119
Quoting Carter Bullard <carter at qosient.com>:
> Gentle people,
> With regard to ragraph() and the rrdtool /J option not being supported
> in the latest rrd-tool distribution, here is the patch that can be applied to
> the latest, rrdtool-1.2.19. Until I can get a dialogue going with the
> rrd-developers, I'll provide these patches in the ragraph subdirectory
> (once we're happy that they work).
>
> This modification allows us to get alignment of legend entries, without it
> the legend can shift by a single character, if there are multiple lines
> of entries,
> which doesn't look very good.
>
> isis:~/Desktop/rrdtool-1.2.19/src$ diff rrd_graph.c rrd_graph.c.new
> ------ Begin patch --------
> 1412c1412
> < int glue = 0;
> ---
>> int useglue = 1, glue = 0;
> 1492a1493,1496
>> if (prt_fctn=='J') {
>> prt_fctn = '\0';
>> useglue = 0;
>> }
> 1517c1521
> < if (leg_c >= 2 && prt_fctn == 'j') {
> ---
>> if ((leg_c >= 2 && prt_fctn == 'j') && useglue) {
>
> ----- End patch --------
>
>
> If there are any issues, please send mail to the list!!!
>
> Carter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: PGP Digital Signature
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20070503/7bc8c5cf/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1700 bytes
Desc: PGP Public Key
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20070503/7bc8c5cf/attachment.key>
More information about the argus
mailing list