From eb7bd2749298d7e92aadfacd75d6632846bc9daa Mon Sep 17 00:00:00 2001 From: demon Date: Tue, 11 May 2004 06:50:49 +0000 Subject: Avoid coredump in 'rrdtool graph -X ' Submitted by: "Leonid A. Lyamanov" --- databases/rrdtool/files/patch-rrd_graph.c | 11 +++++++++++ databases/rrdtool10/files/patch-rrd_graph.c | 11 +++++++++++ 2 files changed, 22 insertions(+) create mode 100644 databases/rrdtool/files/patch-rrd_graph.c create mode 100644 databases/rrdtool10/files/patch-rrd_graph.c (limited to 'databases') diff --git a/databases/rrdtool/files/patch-rrd_graph.c b/databases/rrdtool/files/patch-rrd_graph.c new file mode 100644 index 000000000000..2ba5c0859e60 --- /dev/null +++ b/databases/rrdtool/files/patch-rrd_graph.c @@ -0,0 +1,11 @@ +--- src/rrd_graph.c.orig Fri May 7 15:10:16 2004 ++++ src/rrd_graph.c Fri May 7 15:10:34 2004 +@@ -2966,7 +2966,7 @@ + + + opt = getopt_long(argc, argv, +- "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYAMXL:S:RB:O:U:", ++ "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYNAMX:L:S:RB:O:U:", + long_options, &option_index); + + if (opt == EOF) diff --git a/databases/rrdtool10/files/patch-rrd_graph.c b/databases/rrdtool10/files/patch-rrd_graph.c new file mode 100644 index 000000000000..2ba5c0859e60 --- /dev/null +++ b/databases/rrdtool10/files/patch-rrd_graph.c @@ -0,0 +1,11 @@ +--- src/rrd_graph.c.orig Fri May 7 15:10:16 2004 ++++ src/rrd_graph.c Fri May 7 15:10:34 2004 +@@ -2966,7 +2966,7 @@ + + + opt = getopt_long(argc, argv, +- "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYAMXL:S:RB:O:U:", ++ "s:e:x:y:v:w:h:iu:l:rb:oc:t:f:a:zgjFYNAMX:L:S:RB:O:U:", + long_options, &option_index); + + if (opt == EOF) -- cgit