Peter Stamfest [Sat, 8 Mar 2014 12:32:49 +0000 (13:32 +0100)]
Revert "Make modify command available using RRDs"
This reverts commit c77b6b7a567bd787baa98a9e459bd64e9ef39154.
This cs should not have been on this branch, but because the branch was
pushed before, it can only be reverted...
Peter Stamfest [Wed, 19 Feb 2014 08:56:16 +0000 (09:56 +0100)]
Add support for rrd restore to explicitly end xml files when using
the pipe interface by using the "-" special filename and using
ctrl-Z/newline as an end-of-file indicator.
Peter Stamfest [Fri, 28 Feb 2014 20:48:47 +0000 (21:48 +0100)]
Rip out a lot of too complicated code doing reordering of
RRA rows. This is now done during the copying of the data to the
out RRA. This should also assist with the upcoming planned
population of newly added RRAs or RRA rows.
Peter Stamfest [Wed, 19 Feb 2014 08:56:16 +0000 (09:56 +0100)]
Add support for rrd restore to explicitly end xml files when using
the pipe interface by using the "-" special filename and using
ctrl-Z/newline as an end-of-file indicator.
Peter A. Bigot [Wed, 19 Feb 2014 00:31:01 +0000 (18:31 -0600)]
autogen.sh: use POSIX comparison for test
Although bash recognizes ==, and the shell has a shebang to use it, some
of us still automatically type "sh autogen.sh" instead of
"./autogen.sh", and this breaks on debian/jessie where /bin/sh is not
bash. The fix is trivial and should be safe for bash too (which
recommends using = instead of == with the test command for POSIX
conformance.
Peter A. Bigot [Mon, 17 Feb 2014 23:24:25 +0000 (17:24 -0600)]
rrd_graph: initialize new data member (fix #441)
primary_axis_format was added to image_desc_t but rrd_graph_init was not
updated to initialize it, resulting in this error when the garbage
values were used as axis labels:
(process:24893): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Jan Kundrát [Wed, 26 Feb 2014 01:57:19 +0000 (02:57 +0100)]
Fix rrdc_fetch behavior on RRDs with multiple DSes
When reading values from RRD files with multiple data sets, the auxiliary
parsing function would only copy the first item from the returned list; the
others were left uninitialized. On my x64_64 Linux machine, this actually reused
values form previous call to parse_char_array_header which happens to be a DS
definition. Given a RRD file with DS "a", "b" and "c", the first value on each
line would be correctly parsed, but the second value is "b", the actual DS name,
and the third one "c". These "values" cannot be parsed as numbers, and the whole
function therefore returns with an error. Making sure that all pointers within
the array are copied therefore fixes this problem.
Markus Elfring [Mon, 25 Nov 2013 16:16:25 +0000 (17:16 +0100)]
Bug #429: Clean-up of reserved identifier violations
A few identifiers did not fit to the expected naming convention of the
C++ language standard. This detail was fixed by the deletion of an underscore.
The probability for name clashes was reduced for the affected include guards
by the addition of a kind of universally unique identifier as a suffix.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Markus Elfring [Mon, 25 Nov 2013 16:10:51 +0000 (17:10 +0100)]
Bug #429: Clean-up of reserved identifier violations
Some identifiers did not fit to the expected naming convention of the
C language standard. This detail was fixed by the deletion of leading underscores.
The probability for name clashes was reduced for the affected include guards
by the addition of a kind of universally unique identifier as a suffix.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Markus Elfring [Mon, 25 Nov 2013 13:11:34 +0000 (14:11 +0100)]
Bug #431: Fix signal handler
The signal handler implementation called async-signal-unsafe functions.
Corresponding notifications are handled by the interface "sigwaitinfo"
in a separate thread now.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>