summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2362ae6)
raw | patch | inline | side by side (parent: 2362ae6)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Mar 2010 20:35:58 +0000 (21:35 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 21 Mar 2010 20:35:58 +0000 (21:35 +0100) |
This fixes short option parsing in rrd_graph() by adding support for '-M' as
documented in the manpage.
Thanks to Ralf Hildebrandt for reporting this!
Closes: #573299
documented in the manpage.
Thanks to Ralf Hildebrandt for reporting this!
Closes: #573299
debian/changelog | patch | blob | history | |
debian/patches/bts573299-rrdgraph-M | [new file with mode: 0644] | patch | blob |
debian/patches/series | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index c852f1f949aa0810f187e9dae4f01cad3c7e5cd7..1acd90db7a84ed621953a80a7fdec154f22708e2 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Added bts573638-rrdcgi-segfault: upstream patch fixing a segfault in
rrdcgi's printlasttime() (and possibly others); thanks to Robert Luberda
for reporting this (Closes: #573638).
+ - Added bts573299-rrdgraph-M: fix short option parsing in rrd_graph() --
+ added support for '-M' as documented in the manpage; thanks to Ralf
+ Hildebrandt for reporting this (Closes: #573299).
- -- Sebastian Harl <tokkee@debian.org> Sun, 21 Mar 2010 21:28:05 +0100
+ -- Sebastian Harl <tokkee@debian.org> Sun, 21 Mar 2010 21:33:46 +0100
rrdtool (1.4.2-1) unstable; urgency=low
diff --git a/debian/patches/bts573299-rrdgraph-M b/debian/patches/bts573299-rrdgraph-M
--- /dev/null
@@ -0,0 +1,13 @@
+diff --git a/src/rrd_graph.c b/src/rrd_graph.c
+index 2c4f71a..275a8c0 100644
+--- a/src/rrd_graph.c
++++ b/src/rrd_graph.c
+@@ -4191,7 +4191,7 @@ void rrd_graph_options(
+ int col_start, col_end;
+
+ opt = getopt_long(argc, argv,
+- "Aa:B:b:c:Dd:Ee:Ff:G:gh:IiJjL:l:Nn:Bb:oPR:rS:s:T:t:u:v:W:w:X:x:Yy:z",
++ "Aa:B:b:c:Dd:Ee:Ff:G:gh:IiJjL:l:MNn:oPR:rS:s:T:t:u:v:W:w:X:x:Yy:z",
+ long_options, &option_index);
+ if (opt == EOF)
+ break;
diff --git a/debian/patches/series b/debian/patches/series
index 81b1166acad7746a3b026cb1acf183fd9011aea4..db134417910ccd9a6c8f6ec8a53997c8cd0e1467 100644 (file)
--- a/debian/patches/series
+++ b/debian/patches/series
implicit-decl-fix
bts530814-hurd
bts573638-rrdcgi-segfault
+bts573299-rrdgraph-M