only include utime.h when necessary
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1809 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1809 a5681a0c-68f1-0310-ab6d-d61299d08faa
* in 1.3: Changed types used in rrd_file_t from off_t to size_t to prevent: warning: comparison between signed and unsigned
* Misc other off_t -> size_t changes to prevent signed warning
* in 1.3: Added rrd_dump_opt_r declaration to prevent undef warning
* Explicit cast to time_t of check in rrd_fetch to prevent signed warning
* Added vasprintf path to sprintf_alloc to prevent excessive mallocing
* in 1.3: fixed STRERROR_R_CHAR_P undef warning
patch by Steven Hartland killing multiplay.co.uk
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1808 a5681a0c-68f1-0310-ab6d-d61299d08faa
* Misc other off_t -> size_t changes to prevent signed warning
* in 1.3: Added rrd_dump_opt_r declaration to prevent undef warning
* Explicit cast to time_t of check in rrd_fetch to prevent signed warning
* Added vasprintf path to sprintf_alloc to prevent excessive mallocing
* in 1.3: fixed STRERROR_R_CHAR_P undef warning
patch by Steven Hartland killing multiplay.co.uk
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1808 a5681a0c-68f1-0310-ab6d-d61299d08faa
reset errno right befor the place where we look at it ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1807 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1807 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix error messages on the road to fix #222
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1804 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1804 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.8
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1801 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1801 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrated fix for debian bug #529291 as supplied by Anders Hammarquist
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1800 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1800 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix rrd_getops use of external variables (optarg and friends) ... most
prominently is kills a segfault when using rrdtool perl bindings on
solaris ... thanks to Ihsan Dogan for helping with tracking this down and providing
access to sparc solaris boxes.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1799 a5681a0c-68f1-0310-ab6d-d61299d08faa
prominently is kills a segfault when using rrdtool perl bindings on
solaris ... thanks to Ihsan Dogan for helping with tracking this down and providing
access to sparc solaris boxes.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1799 a5681a0c-68f1-0310-ab6d-d61299d08faa
added some remarks on CDEF versus VDEF to the docs -- Pablo Sanchez
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1797 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1797 a5681a0c-68f1-0310-ab6d-d61299d08faa
add documentation for graph-render-mode
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1794 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1794 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix comments and error messages in rrd_restore patch
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1793 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1793 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix casting issues in rrd_restore. The bug manifested when compiled on sparc v9 as explained in #218.
Patch based in input provided by poster of #218.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1792 a5681a0c-68f1-0310-ab6d-d61299d08faa
Patch based in input provided by poster of #218.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1792 a5681a0c-68f1-0310-ab6d-d61299d08faa
make ruby bindings compile with newer ruby versions ... fix for #217
patch provided by rrd trac user.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1791 a5681a0c-68f1-0310-ab6d-d61299d08faa
patch provided by rrd trac user.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1791 a5681a0c-68f1-0310-ab6d-d61299d08faa
Generate an error message when using RRDp with graph - this can not work reliably. (Debian Bug#251701) -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1790 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1790 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing newline -- by sebastian harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1785 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1785 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.7
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1781 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1781 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix build docs
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1779 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1779 a5681a0c-68f1-0310-ab6d-d61299d08faa
provide have m4 macros go here
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1777 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1777 a5681a0c-68f1-0310-ab6d-d61299d08faa
set helper directory
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1776 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1776 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix lazy fix ... syntax error
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1775 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1775 a5681a0c-68f1-0310-ab6d-d61299d08faa
update ACLOCAL flags
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1774 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1774 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for #213 restore old behaviour of --lazy. Even in lazy mode all the data
calculation elements are run. The main time saving comes from the fact that
the graph is not being drawn and the image does not have to be compressed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1773 a5681a0c-68f1-0310-ab6d-d61299d08faa
calculation elements are run. The main time saving comes from the fact that
the graph is not being drawn and the image does not have to be compressed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1773 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure rrd_dump outputs numbers with C locale so that . does not suddenly become , this fixes #212
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1772 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1772 a5681a0c-68f1-0310-ab6d-d61299d08faa
printf for time_t with %lli can easily cause a segfault since on many platforms
time_t is only 32bit ... by adding (long long) to the time value this gets fixed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1769 a5681a0c-68f1-0310-ab6d-d61299d08faa
time_t is only 32bit ... by adding (long long) to the time value this gets fixed.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1769 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed more rrd_flush instances
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1763 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1763 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_flush is not necessary here this used to ba a call to fflush which is something different anyway.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1761 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1761 a5681a0c-68f1-0310-ab6d-d61299d08faa
Renaming ntmake.pl to ntmake.PL (r1742) had unforseen side effects. At least
on freebsd ntmake.PL gets called automatically during build. This is not
desired. I renamed the file to ntmake-build sinc it gets called
explicilty on windows anyway. Reported by Kevin modified by Tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1757 a5681a0c-68f1-0310-ab6d-d61299d08faa
on freebsd ntmake.PL gets called automatically during build. This is not
desired. I renamed the file to ntmake-build sinc it gets called
explicilty on windows anyway. Reported by Kevin modified by Tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1757 a5681a0c-68f1-0310-ab6d-d61299d08faa
there were two lines of debug info printed by rrd_xport, messing up the xml code. Fix by Alejandro Galue.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1754 a5681a0c-68f1-0310-ab6d-d61299d08faa
Even though POSIX/XSI requires "strerror_r" to return an "int", some systems
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument (user
provided buffer). The configure script now checks for that behavior using
AC_FUNC_STRERROR_R. rrd_strerror() in rrd_thread_safe.c has been updated to
(hopefully) handle all possible cases.
Previously, rrd_strerror() would have returned "strerror_r failed. sorry!" in
mostly any cases when using glibc, since "if (strerror_r())" had been used to
check for errors which evaluates to true if a (non-NULL) pointer was returned.
Now, we, at least, return the error number in case anything else fails.
Thanks to Alessandro Iurlano for reporting this issue after spotting it in
collectd <http://collectd.org>.
patch by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1753 a5681a0c-68f1-0310-ab6d-d61299d08faa
(e.g. the GNU libc) return a "char *" _and_ ignore the second argument (user
provided buffer). The configure script now checks for that behavior using
AC_FUNC_STRERROR_R. rrd_strerror() in rrd_thread_safe.c has been updated to
(hopefully) handle all possible cases.
Previously, rrd_strerror() would have returned "strerror_r failed. sorry!" in
mostly any cases when using glibc, since "if (strerror_r())" had been used to
check for errors which evaluates to true if a (non-NULL) pointer was returned.
Now, we, at least, return the error number in case anything else fails.
Thanks to Alessandro Iurlano for reporting this issue after spotting it in
collectd <http://collectd.org>.
patch by Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1753 a5681a0c-68f1-0310-ab6d-d61299d08faa
Misc documentation fixes by Alex van den Bogaerdt
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1749 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1749 a5681a0c-68f1-0310-ab6d-d61299d08faa
Documentation fixes by Bernhard Reutner-Fischer
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1747 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1747 a5681a0c-68f1-0310-ab6d-d61299d08faa
added doc on new graphv graph_start und graph_end info variables
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1745 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1745 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agofix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
fix type conversion error (on windows) unsigned/signed affecting timestamps on rrd_dump.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1744 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1744 a5681a0c-68f1-0310-ab6d-d61299d08faa
rename ntmake.pl to ntmake.PL so that it does not get installed
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1742 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1742 a5681a0c-68f1-0310-ab6d-d61299d08faa
Missed to include utime.h. #207.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1738 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1738 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.6
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1734 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1734 a5681a0c-68f1-0310-ab6d-d61299d08faa
In rrd_graph: the width/height values are written into rrd_infoval_t's u_cnt
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1733 a5681a0c-68f1-0310-ab6d-d61299d08faa
but read out of u_int (u_long vs. int). This breaks on LP64BE. Patch by
Rafal Boni rafal pobox.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1733 a5681a0c-68f1-0310-ab6d-d61299d08faa
with MMAP enabled rrd resize GROW was broken ... this fixes it ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1726 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1726 a5681a0c-68f1-0310-ab6d-d61299d08faa
TICK with negative numbers should 'start from the top of the graph' looking down ... now it does.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1725 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1725 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an error message.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1724 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1724 a5681a0c-68f1-0310-ab6d-d61299d08faa
Include libgen.h to get prototype for basename in a POSIX conformant way. Fix for #202.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1723 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1723 a5681a0c-68f1-0310-ab6d-d61299d08faa
improvements for build docs by Zorzoli, Pablo
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1722 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1722 a5681a0c-68f1-0310-ab6d-d61299d08faa
should free memory after a successful fetch too ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1721 a5681a0c-68f1-0310-ab6d-d61299d08faa
documentation fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1720 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1720 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for POD error by Sebasian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1718 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1718 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fixes some typos by Sebastian Harl.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1717 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1717 a5681a0c-68f1-0310-ab6d-d61299d08faa
win32 fixes by Stefan . Ludewig . exitgames . com
* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
since it also will show 64bit time_t correctly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1716 a5681a0c-68f1-0310-ab6d-d61299d08faa
* added portable plbasename since basename is not available on stock win32
* rrd_update was using %d to show a timestamp ... %lli is better
since it also will show 64bit time_t correctly.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1716 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix extra dist to include missing win32 files
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1715 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1715 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.5
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1710 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1710 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed another seek issue ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1708 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1708 a5681a0c-68f1-0310-ab6d-d61299d08faa
The spec file for building the rrdtool as an RPM that comes with the
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1707 a5681a0c-68f1-0310-ab6d-d61299d08faa
release is not "friendly" to older versions of RHEL and derivatives.
-- Martin Sperl <rrdtool@martin.sperl.org>
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1707 a5681a0c-68f1-0310-ab6d-d61299d08faa
On some architectures, strtod does not turn "NaN" into 'Not A Number (NAN)'
se we better provide our own code here.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1705 a5681a0c-68f1-0310-ab6d-d61299d08faa
se we better provide our own code here.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1705 a5681a0c-68f1-0310-ab6d-d61299d08faa
* forward ported right axis patch from 1.2 branche
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1701 a5681a0c-68f1-0310-ab6d-d61299d08faa
* fixed --full-size-mode sizing issue when used in combination with --title
the work in the axis patch has been sponsored by VoltWerk.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1701 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for last method in ruby bindings -- Hiroyuki Ikezoe
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1700 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1700 a5681a0c-68f1-0310-ab6d-d61299d08faa
integrate osx build hints as indicated in #192
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1699 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1699 a5681a0c-68f1-0310-ab6d-d61299d08faa
accidentely removed #endif restored
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1698 a5681a0c-68f1-0310-ab6d-d61299d08faa
check for broken implementations of msync / MS_ASYNC where
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1696 a5681a0c-68f1-0310-ab6d-d61299d08faa
the mtime does not get updated. warn and explicitly call utime
in rrd_open when a file is opened rw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1696 a5681a0c-68f1-0310-ab6d-d61299d08faa
Legends should NOT be placed in reverse order when using --full-size-mode ... this fixed #198.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1694 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1694 a5681a0c-68f1-0310-ab6d-d61299d08faa
15 years agoCatch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting...
Catch CDEF:tot= and raise and error to fix #199. Thanks to Jeron Massar for reporting this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1691 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1691 a5681a0c-68f1-0310-ab6d-d61299d08faa
Update to WIN32-BUILD-TIPS.txt and VC project files so that the rrdtool.exe can be built too.
-- Stefan Ludewig Stefan.Ludewig exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1690 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Stefan Ludewig Stefan.Ludewig exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1690 a5681a0c-68f1-0310-ab6d-d61299d08faa
When fetching data from 'past' an rra, rrd_fetch was seeking past the rrd
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1689 a5681a0c-68f1-0310-ab6d-d61299d08faa
file. This did cause seek errors in some setups. Fixed. Thanks to Daniel Pocock for finding the problem.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1689 a5681a0c-68f1-0310-ab6d-d61299d08faa
added extra contributor
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1687 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1687 a5681a0c-68f1-0310-ab6d-d61299d08faa
make rrdtool compile on windows with cv++. check out win32/rrdlib.vcproj.
-- Christof.Wegmann with exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1684 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- Christof.Wegmann with exitgames.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1684 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed solaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1683 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1683 a5681a0c-68f1-0310-ab6d-d61299d08faa
be even more liberal with NOT using isfinite on solaris2.8
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1663 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1663 a5681a0c-68f1-0310-ab6d-d61299d08faa
use basename to determine filename for imginfo as suggested by sebastian
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1662 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1662 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed --font TITLE:12: problem -- tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1653 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1653 a5681a0c-68f1-0310-ab6d-d61299d08faa
added librrd.pc to spec file as requested byu Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1646 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1646 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix from alex
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1639 a5681a0c-68f1-0310-ab6d-d61299d08faa
missed checkin for librrd.sym fix
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1633 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1633 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix for osx porability ... the # in librrd.sym did not work well there
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1631 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1631 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed typo ... GAUGE not GUAGE
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1628 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1628 a5681a0c-68f1-0310-ab6d-d61299d08faa
use double for legend positioning to fight wiggle
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1617 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1617 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix version numbers
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1615 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1615 a5681a0c-68f1-0310-ab6d-d61299d08faa
improved docu
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1608 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1608 a5681a0c-68f1-0310-ab6d-d61299d08faa
Daniel Pocock reported that the argument may be NULL in low-diskspace
situations, so check for that here to prevent a segmentation fault.
-- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1585 a5681a0c-68f1-0310-ab6d-d61299d08faa
situations, so check for that here to prevent a segmentation fault.
-- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1585 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1574 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1574 a5681a0c-68f1-0310-ab6d-d61299d08faa
finite broken on solaris 9 too ?
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1573 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1573 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_resize fixed so that it does NOT alter the original file (mmap side effect)
* rrd_resize can can deal with version 4 files, so let it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1571 a5681a0c-68f1-0310-ab6d-d61299d08faa
* rrd_resize can can deal with version 4 files, so let it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1571 a5681a0c-68f1-0310-ab6d-d61299d08faa
The patch fixs rrdtools behaviour when presented with trunkated rrd files.
* Make sure that we do not extend past the end of the
file when reading the header.
* Makes sure that the data portion of the file is large enough, based on
the ds_cnt and the total number of RRA rows
-- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
* Make sure that we do not extend past the end of the
file when reading the header.
* Makes sure that the data portion of the file is large enough, based on
the ds_cnt and the total number of RRA rows
-- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
Attached is a patch to lower the version requirements of libtool and
automake. I have tested this on CentOS 4.x with the specified
versions of libtool and automake and was able to build RRDTool fine.
I did *not* test building with PHP, tcl, ruby or Python though.
I also abstracted the version numbers of all the dependencies such
that editing them in the future will be easier.
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1538 a5681a0c-68f1-0310-ab6d-d61299d08faa
automake. I have tested this on CentOS 4.x with the specified
versions of libtool and automake and was able to build RRDTool fine.
I did *not* test building with PHP, tcl, ruby or Python though.
I also abstracted the version numbers of all the dependencies such
that editing them in the future will be easier.
-- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1538 a5681a0c-68f1-0310-ab6d-d61299d08faa
Attached is a patch against the spec file shipped with
rrdtool-1.3.3.spec which will make it buildable (at least it works on
my CentOS 4.x system). -- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1536 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdtool-1.3.3.spec which will make it buildable (at least it works on
my CentOS 4.x system). -- Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1536 a5681a0c-68f1-0310-ab6d-d61299d08faa
vdef calc was using end_orig to determine for which range it should do its
calculations which is odd, since orig is only the requested range as
invocation time and not the data range deliverd by fetch. It does fall
completely flat when shifting since shifting does not affect the original
data. Bug #177 reported by hokiel
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
calculations which is odd, since orig is only the requested range as
invocation time and not the data range deliverd by fetch. It does fall
completely flat when shifting since shifting does not affect the original
data. Bug #177 reported by hokiel
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1530 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdxport was completely broken for exporting datasources that did not have a uniform step size. Thanks to Peter Valdemar Mørch for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1529 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1529 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed destdir for default install of language bindings and removed sepp preference
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1516 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1516 a5681a0c-68f1-0310-ab6d-d61299d08faa
use default prefix for ruby install if no user defined prefix is available
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1515 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1515 a5681a0c-68f1-0310-ab6d-d61299d08faa
Bsd lirary path switch added to perl bindings makefile -- as suggested by Kevin Brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1513 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1513 a5681a0c-68f1-0310-ab6d-d61299d08faa
Fix for debian bug 498183 ... never *advise after the end of the
file. On sparc this causes a segfault. Thanks to Sebastian Harl and Jurij Smakov for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1512 a5681a0c-68f1-0310-ab6d-d61299d08faa
file. On sparc this causes a segfault. Thanks to Sebastian Harl and Jurij Smakov for finding this.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1512 a5681a0c-68f1-0310-ab6d-d61299d08faa
added missing bottom config
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1510 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1510 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1509 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1509 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix release script for 1.3 branche
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1508 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1508 a5681a0c-68f1-0310-ab6d-d61299d08faa
resync with trunk since these are fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1503 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1503 a5681a0c-68f1-0310-ab6d-d61299d08faa
branching for 1.3
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1492 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1492 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agoThe attached patch eliminates the many places where the rra_current pointer was maint...
The attached patch eliminates the many places where the rra_current pointer was maintained; the existing write/seek mechanisms update rrd_file->pos correctly.
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall kbrint rufus.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1488 a5681a0c-68f1-0310-ab6d-d61299d08faa
Also, the seek at the front of process_arg is not necessary; write_to_rras will now take care to correct the file position at every update cycle.
This eliminates unnecessary rrd_seek() calls when MMAP is not enabled. -- kevin brintnall kbrint rufus.net
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1488 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.3.2
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1484 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1484 a5681a0c-68f1-0310-ab6d-d61299d08faa
we need rrd_format.h here for things to compile properly
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1483 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1483 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated opensolaris build instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1482 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1482 a5681a0c-68f1-0310-ab6d-d61299d08faa
only link build and use rrd_getopt if there is no getopt_long provided by
by the os ... this should also fix problems for solaris 2.8 and other
non getopt_long oses who were not taken care of anymore after the intriduction of librrd.sym
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1481 a5681a0c-68f1-0310-ab6d-d61299d08faa
by the os ... this should also fix problems for solaris 2.8 and other
non getopt_long oses who were not taken care of anymore after the intriduction of librrd.sym
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1481 a5681a0c-68f1-0310-ab6d-d61299d08faa
16 years agofix for multi update - data corruption bug as reported (and patched) in #178 by kevin...
fix for multi update - data corruption bug as reported (and patched) in #178 by kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1480 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1480 a5681a0c-68f1-0310-ab6d-d61299d08faa
make pod checker happy
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1479 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1479 a5681a0c-68f1-0310-ab6d-d61299d08faa
inline functions are not supported in c99 ... lets remove this.
the compiler will foture it out if they are important.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1478 a5681a0c-68f1-0310-ab6d-d61299d08faa
the compiler will foture it out if they are important.
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1478 a5681a0c-68f1-0310-ab6d-d61299d08faa