[rrd-developers] Bug#251701: fix #182217 breaks librrdp-perl

Sebastian Harl sh at tokkee.org
Mon Apr 13 19:49:36 CEST 2009


Hi Tobi,

On Thu, Apr 09, 2009 at 05:47:58PM +0200, Tobias Oetiker wrote:
> Yesterday Sebastian Harl wrote:
> > On Wed, Apr 08, 2009 at 07:32:38AM +0200, Tobias Oetiker wrote:
> > > Otherwhise the solution is simple, update the docs and mention
> > > that it does NOT work and if someone is so minded, update RRDp to
> > > support graphv
> >
> > Well, that's basically what I proposed initially - I would have gone for
> > reporting an error if "graph -" is used in RRDp::cmd though. When I was
> > asking for someone to provide a patch, I had support for graphv in mind.
> > Sorry, if that wasn't clear in the first place. Anyway, those two
> > changes would be a perfectly valid solution for this problem imho.
> 
> well for the moment the check for a call to graph - sounds like a
> simple enough thing todo ... will create a patch and send it your
> way ...

Well, that's trivial ... ;-) I've attached a patch to take care of that.
Anyway, you've talked about "enhancing RRDp accordingly" - what did you
have in mind then? None of the other commands is handled specifically
...

Also, I noticed that graphv isn't documented yet. Having RRDp point to
some undocumented feature is not very nice imho. Would you mind
providing a manpage for that?

TIA,
Sebastian

PS: I found the following piece of code in RRDp.pm:

    if ($Sequence ne 'S') {
    }

  What's that supposed to do? ;-)

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: RRDp-graph.patch
Type: text/x-diff
Size: 990 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090413/5e6dd688/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20090413/5e6dd688/attachment-0001.bin 


More information about the rrd-developers mailing list