From: Sebastian Harl
Date: Tue, 7 Apr 2009 12:39:21 +0000 (+0200)
Subject: Imported upstream version 1.3.7.
X-Git-Tag: debian/1.3.7-1~14^2
X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1559397b94b4af3de73cfa23c04be31d8bee53e7;p=pkg-rrdtool.git
Imported upstream version 1.3.7.
---
diff --git a/CHANGES b/CHANGES
index e6f80e6..3f00988 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,411 @@
+2009-04-07 07:31 oetiker
+
+ * branches/1.3/program/bindings/perl-piped/RRDp.pm,
+ branches/1.3/program/bindings/perl-shared/RRDs.pm,
+ branches/1.3/program/configure.ac,
+ branches/1.3/program/doc/rrdbuild.pod,
+ branches/1.3/program/rrdtool.spec,
+ branches/1.3/program/src/pngsize.c,
+ branches/1.3/program/src/rrd.h,
+ branches/1.3/program/src/rrd_cgi.c,
+ branches/1.3/program/src/rrd_create.c,
+ branches/1.3/program/src/rrd_datalang.c,
+ branches/1.3/program/src/rrd_diff.c,
+ branches/1.3/program/src/rrd_dump.c,
+ branches/1.3/program/src/rrd_error.c,
+ branches/1.3/program/src/rrd_fetch.c,
+ branches/1.3/program/src/rrd_first.c,
+ branches/1.3/program/src/rrd_format.c,
+ branches/1.3/program/src/rrd_format.h,
+ branches/1.3/program/src/rrd_gfx.c,
+ branches/1.3/program/src/rrd_graph.c,
+ branches/1.3/program/src/rrd_graph_helper.c,
+ branches/1.3/program/src/rrd_hw.c,
+ branches/1.3/program/src/rrd_hw.h,
+ branches/1.3/program/src/rrd_i18n.h,
+ branches/1.3/program/src/rrd_info.c,
+ branches/1.3/program/src/rrd_is_thread_safe.h,
+ branches/1.3/program/src/rrd_last.c,
+ branches/1.3/program/src/rrd_lastupdate.c,
+ branches/1.3/program/src/rrd_not_thread_safe.c,
+ branches/1.3/program/src/rrd_open.c,
+ branches/1.3/program/src/rrd_resize.c,
+ branches/1.3/program/src/rrd_restore.c,
+ branches/1.3/program/src/rrd_rpncalc.c,
+ branches/1.3/program/src/rrd_rpncalc.h,
+ branches/1.3/program/src/rrd_thread_safe.c,
+ branches/1.3/program/src/rrd_thread_safe_nt.c,
+ branches/1.3/program/src/rrd_tool.c,
+ branches/1.3/program/src/rrd_tool.h,
+ branches/1.3/program/src/rrd_tune.c,
+ branches/1.3/program/src/rrd_update.c,
+ branches/1.3/program/src/rrd_version.c,
+ branches/1.3/program/src/rrd_xport.c,
+ branches/1.3/program/src/rrd_xport.h,
+ branches/1.3/program/src/rrdupdate.c: prepare for the release of
+ rrdtool-1.3.7
+
+2009-04-07 07:25 oetiker
+
+ * branches/1.3/website/.htaccess,
+ branches/1.3/website/gallery/index.en.html,
+ branches/1.3/website/gallery/miszek.xml,
+ branches/1.3/website/inc/template.inc,
+ branches/1.3/website/rrdworld/index.wml,
+ branches/1.3/website/rrdworld/tacLOG_RRD.png,
+ branches/1.3/website/rrdworld/tacLOG_RRD.xml,
+ branches/1.3/website/site-sync: sync up
+
+2009-04-07 07:23 oetiker
+
+ * branches/1.3/program/doc/rrdbuild.pod: fix build docs
+
+2009-04-07 07:21 oetiker
+
+ * branches/1.3/program/m4: provide have m4 macros go here
+
+2009-04-07 07:20 oetiker
+
+ * branches/1.3/program/configure.ac: set helper directory
+
+2009-04-07 07:20 oetiker
+
+ * branches/1.3/program/src/rrd_graph.c: fix lazy fix ... syntax
+ error
+
+2009-04-07 07:19 oetiker
+
+ * branches/1.3/program/Makefile.am: update ACLOCAL flags
+
+2009-04-07 06:37 oetiker
+
+ * branches/1.3/program/doc/rrdgraph.pod,
+ branches/1.3/program/src/rrd_graph.c, NEWS, doc/rrdgraph.pod,
+ src/rrd_graph.c: 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.
+
+2009-04-07 06:03 oetiker
+
+ * branches/1.3/program/src/rrd_dump.c, src/rrd_dump.c: make sure
+ rrd_dump outputs numbers with C locale so that . does not suddenly
+ become , this fixes #212
+
+2009-04-06 14:12 oetiker
+
+ * branches/1.3/program/src/rrd_update.c, src/rrd_update.c: 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.
+
+2009-03-21 10:44 oetiker
+
+ * branches/1.3/program/src/rrd_hw.c: removed more rrd_flush
+ instances
+
+2009-03-21 09:55 oetiker
+
+ * branches/1.3/program/src/rrd_hw.c: rrd_flush is not necessary here
+ this used to ba a call to fflush which is something different
+ anyway.
+
+2009-03-08 08:02 oetiker
+
+ * branches/1.2/program/WIN32-BUILD-TIPS.txt,
+ branches/1.2/program/bindings/Makefile.am,
+ branches/1.2/program/bindings/perl-shared/MANIFEST,
+ branches/1.2/program/bindings/perl-shared/ntmake-build,
+ branches/1.2/program/bindings/perl-shared/ntmake.PL,
+ branches/1.3/program/WIN32-BUILD-TIPS.txt,
+ branches/1.3/program/bindings/Makefile.am,
+ branches/1.3/program/bindings/perl-shared/MANIFEST,
+ branches/1.3/program/bindings/perl-shared/ntmake-build,
+ branches/1.3/program/bindings/perl-shared/ntmake.PL,
+ WIN32-BUILD-TIPS.txt, bindings/Makefile.am,
+ bindings/perl-shared/MANIFEST, bindings/perl-shared/ntmake-build,
+ bindings/perl-shared/ntmake.PL: 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
+
+2009-03-06 05:51 oetiker
+
+ * branches/1.3/program/src/rrd_xport.c, src/rrd_xport.c: there were
+ two lines of debug info printed by rrd_xport, messing up the xml
+ code. Fix by Alejandro Galue.
+
+2009-03-06 05:40 oetiker
+
+ * branches/1.3/program/configure.ac,
+ branches/1.3/program/src/rrd_thread_safe.c: 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 . patch by Sebastian
+ Harl
+
+2009-02-21 09:46 oetiker
+
+ * branches/1.3/website/rrdworld/index.wml,
+ branches/1.3/website/rrdworld/observer.png,
+ branches/1.3/website/rrdworld/observer.xml,
+ branches/1.3/website/rrdworld/observernms.jpg,
+ branches/1.3/website/rrdworld/observernms.xml: update observer
+ entry
+
+2009-02-21 09:43 oetiker
+
+ * branches/1.2/program/doc/bin_dec_hex.pod,
+ branches/1.2/program/doc/cdeftutorial.pod,
+ branches/1.2/program/doc/rrdgraph.pod,
+ branches/1.2/program/doc/rrdgraph_data.pod,
+ branches/1.2/program/doc/rrdgraph_examples.pod,
+ branches/1.2/program/doc/rrdgraph_graph.pod,
+ branches/1.2/program/doc/rrdgraph_rpn.pod,
+ branches/1.2/program/doc/rrdresize.pod,
+ branches/1.2/program/doc/rrdtutorial.es.pod,
+ branches/1.2/program/doc/rrdtutorial.pod,
+ branches/1.3/program/doc/bin_dec_hex.pod,
+ branches/1.3/program/doc/cdeftutorial.pod,
+ branches/1.3/program/doc/rrdgraph.pod,
+ branches/1.3/program/doc/rrdgraph_data.pod,
+ branches/1.3/program/doc/rrdgraph_examples.pod,
+ branches/1.3/program/doc/rrdgraph_graph.pod,
+ branches/1.3/program/doc/rrdgraph_rpn.pod,
+ branches/1.3/program/doc/rrdresize.pod,
+ branches/1.3/program/doc/rrdtutorial.es.pod,
+ branches/1.3/program/doc/rrdtutorial.pod, doc/bin_dec_hex.pod,
+ doc/cdeftutorial.pod, doc/rrdgraph.pod, doc/rrdgraph_data.pod,
+ doc/rrdgraph_examples.pod, doc/rrdgraph_graph.pod,
+ doc/rrdgraph_rpn.pod, doc/rrdresize.pod, doc/rrdtutorial.es.pod,
+ doc/rrdtutorial.pod: Misc documentation fixes by Alex van den
+ Bogaerdt
+
+2009-02-21 09:22 oetiker
+
+ * branches/1.3/program/doc/rrdgraph.pod,
+ branches/1.3/program/doc/rrdgraph_rpn.pod: Documentation fixes by
+ Bernhard Reutner-Fischer
+
+2009-01-26 05:59 oetiker
+
+ * branches/1.3/website/inc/design.css: fix css to not mutilate trac
+ layout
+
+2009-01-25 22:39 oetiker
+
+ * branches/1.3/program/doc/rrdgraph.pod, doc/rrdgraph.pod: added doc
+ on new graphv graph_start und graph_end info variables
+
+2009-01-25 22:02 oetiker
+
+ * branches/1.2/program/src/rrd_dump.c,
+ branches/1.2/program/src/rrd_first.c,
+ branches/1.3/program/src/rrd_dump.c,
+ branches/1.3/program/src/rrd_first.c,
+ branches/1.3/program/src/rrd_graph.c, src/rrd_dump.c,
+ src/rrd_first.c, src/rrd_graph.c: fix type conversion error (on
+ windows) unsigned/signed affecting timestamps on rrd_dump.
+
+2009-01-25 21:52 oetiker
+
+ * branches/1.2/program/bindings/Makefile.am,
+ branches/1.2/program/bindings/perl-shared/ntmake.PL,
+ branches/1.2/program/bindings/perl-shared/ntmake.pl,
+ branches/1.3/program/bindings/Makefile.am,
+ branches/1.3/program/bindings/perl-shared/ntmake.PL,
+ branches/1.3/program/bindings/perl-shared/ntmake.pl,
+ bindings/Makefile.am, bindings/perl-shared/ntmake.PL,
+ bindings/perl-shared/ntmake.pl: rename ntmake.pl to ntmake.PL so
+ that it does not get installed
+
+2009-01-25 15:49 oetiker
+
+ * branches/1.3/website/download.wml,
+ branches/1.3/website/gallery/index.wml,
+ branches/1.3/website/gallery/miszek.png,
+ branches/1.3/website/gallery/miszek.xml,
+ branches/1.3/website/index.wml,
+ branches/1.3/website/rrdworld/index.wml,
+ branches/1.3/website/rrdworld/lpar2rrd.png,
+ branches/1.3/website/rrdworld/lpar2rrd.xml,
+ branches/1.3/website/sponsor.wml: misc web updates
+
+2009-01-22 15:43 oetiker
+
+ * branches/1.3/program/src/rrd_open.c: Missed to include utime.h.
+ #207.
+
+2009-01-19 14:27 oetiker
+
+ * branches/1.3/program/bindings/perl-piped/RRDp.pm,
+ branches/1.3/program/bindings/perl-shared/RRDs.pm,
+ branches/1.3/program/configure.ac,
+ branches/1.3/program/doc/rrdbuild.pod,
+ branches/1.3/program/rrdtool-1.3-release,
+ branches/1.3/program/rrdtool.spec,
+ branches/1.3/program/src/pngsize.c,
+ branches/1.3/program/src/rrd.h,
+ branches/1.3/program/src/rrd_cgi.c,
+ branches/1.3/program/src/rrd_create.c,
+ branches/1.3/program/src/rrd_datalang.c,
+ branches/1.3/program/src/rrd_diff.c,
+ branches/1.3/program/src/rrd_dump.c,
+ branches/1.3/program/src/rrd_error.c,
+ branches/1.3/program/src/rrd_fetch.c,
+ branches/1.3/program/src/rrd_first.c,
+ branches/1.3/program/src/rrd_format.c,
+ branches/1.3/program/src/rrd_format.h,
+ branches/1.3/program/src/rrd_gfx.c,
+ branches/1.3/program/src/rrd_graph.c,
+ branches/1.3/program/src/rrd_graph_helper.c,
+ branches/1.3/program/src/rrd_hw.c,
+ branches/1.3/program/src/rrd_hw.h,
+ branches/1.3/program/src/rrd_i18n.h,
+ branches/1.3/program/src/rrd_info.c,
+ branches/1.3/program/src/rrd_is_thread_safe.h,
+ branches/1.3/program/src/rrd_last.c,
+ branches/1.3/program/src/rrd_lastupdate.c,
+ branches/1.3/program/src/rrd_not_thread_safe.c,
+ branches/1.3/program/src/rrd_open.c,
+ branches/1.3/program/src/rrd_resize.c,
+ branches/1.3/program/src/rrd_restore.c,
+ branches/1.3/program/src/rrd_rpncalc.c,
+ branches/1.3/program/src/rrd_rpncalc.h,
+ branches/1.3/program/src/rrd_thread_safe.c,
+ branches/1.3/program/src/rrd_thread_safe_nt.c,
+ branches/1.3/program/src/rrd_tool.c,
+ branches/1.3/program/src/rrd_tool.h,
+ branches/1.3/program/src/rrd_tune.c,
+ branches/1.3/program/src/rrd_update.c,
+ branches/1.3/program/src/rrd_version.c,
+ branches/1.3/program/src/rrd_xport.c,
+ branches/1.3/program/src/rrd_xport.h,
+ branches/1.3/program/src/rrdupdate.c: prepare for the release of
+ rrdtool-1.3.6
+
+2009-01-14 08:14 oetiker
+
+ * branches/1.3/program/src/rrd_graph.c, src/rrd_graph.c: 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
+
+2009-01-09 06:14 oetiker
+
+ * branches/1.3/website/download.wml,
+ branches/1.3/website/sponsor.wml,
+ branches/1.3/website/tut/index.wml: added links
+
+2009-01-06 16:32 oetiker
+
+ * branches/1.3/program/src/rrd_resize.c, src/rrd_resize.c: with MMAP
+ enabled rrd resize GROW was broken ... this fixes it ...
+
+2009-01-06 15:45 oetiker
+
+ * branches/1.2/program/src/rrd_graph.c,
+ branches/1.3/program/src/rrd_graph.c, src/rrd_graph.c: TICK with
+ negative numbers should 'start from the top of the graph' looking
+ down ... now it does.
+
+2009-01-06 14:54 oetiker
+
+ * branches/1.2/program/src/rrd_cgi.c,
+ branches/1.3/program/src/rrd_cgi.c, src/rrd_cgi.c: fix for
+ segfault in rrd_cgi: caused by freeing a invalid address when
+ printing an error message.
+
+2008-12-26 08:05 oetiker
+
+ * branches/1.3/program/configure.ac,
+ branches/1.3/program/src/rrd_graph.h, configure.ac,
+ src/rrd_graph.h: Include libgen.h to get prototype for basename in
+ a POSIX conformant way. Fix for #202.
+
+2008-12-26 08:03 oetiker
+
+ * branches/1.3/program/doc/rrdbuild.pod, doc/rrdbuild.pod:
+ improvements for build docs by Zorzoli, Pablo
+
+2008-12-22 21:23 oetiker
+
+ * branches/1.3/program/src/rrd_fetch.c, src/rrd_fetch.c: should free
+ memory after a successful fetch too ...
+
+2008-12-22 21:23 oetiker
+
+ * branches/1.3/program/bindings/perl-shared/RRDs.pm,
+ bindings/perl-shared/RRDs.pm: documentation fixes
+
+2008-12-22 10:25 oetiker
+
+ * branches/1.3/website/logos/asdasd_101x51.png: fixed size
+
+2008-12-22 07:21 oetiker
+
+ * branches/1.3/program/doc/rrdgraph.pod, doc/rrdgraph.pod: Fix for
+ POD error by Sebasian Harl
+
+2008-12-22 07:20 oetiker
+
+ * branches/1.3/program/doc/bin_dec_hex.pod,
+ branches/1.3/program/doc/rpntutorial.pod,
+ branches/1.3/program/doc/rrdbuild.pod,
+ branches/1.3/program/doc/rrdcgi.pod,
+ branches/1.3/program/doc/rrdgraph-old.pod,
+ branches/1.3/program/doc/rrdgraph.pod,
+ branches/1.3/program/doc/rrdgraph_data.pod,
+ branches/1.3/program/doc/rrdgraph_examples.pod,
+ branches/1.3/program/doc/rrdgraph_graph.pod,
+ branches/1.3/program/doc/rrdtool.pod,
+ branches/1.3/program/doc/rrdtutorial.pod, doc/bin_dec_hex.pod,
+ doc/rpntutorial.pod, doc/rrdbuild.pod, doc/rrdcgi.pod,
+ doc/rrdgraph-old.pod, doc/rrdgraph.pod, doc/rrdgraph_data.pod,
+ doc/rrdgraph_examples.pod, doc/rrdgraph_graph.pod,
+ doc/rrdgraph_libdbi.pod, doc/rrdtool.pod, doc/rrdtutorial.pod:
+ Fixes some typos by Sebastian Harl.
+
+2008-12-19 14:26 oetiker
+
+ * branches/1.3/program/src/Makefile.am,
+ branches/1.3/program/src/plbasename.c,
+ branches/1.3/program/src/plbasename.h,
+ branches/1.3/program/src/rrd_graph.c,
+ branches/1.3/program/src/rrd_update.c,
+ branches/1.3/program/win32/rrdlib.vcproj, src/Makefile.am,
+ src/plbasename.c, src/plbasename.h, src/rrd_graph.c,
+ src/rrd_update.c, win32/rrdlib.vcproj: 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.
+
+2008-12-18 23:56 oetiker
+
+ * branches/1.3/program/Makefile.am, Makefile.am: fix extra dist to
+ include missing win32 files
+
+2008-12-18 07:34 oetiker
+
+ * branches/1.3/website/index.wml,
+ branches/1.3/website/logos/hitmeister.gif,
+ branches/1.3/website/sponsor.wml: added hitmeister sponsor
+
+2008-12-16 08:04 oetiker
+
+ * branches/1.3/website/inc/trac.css: special css for trac
+
2008-12-15 22:06 oetiker
* branches/1.3/program/bindings/perl-piped/RRDp.pm,
diff --git a/Makefile.am b/Makefile.am
index 7b6595e..b703754 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,3 +1,4 @@
+ACLOCAL_AMFLAGS = -I m4
## Process this file with automake to produce Makefile.in
RSYNC = rsync --rsh=ssh
@@ -13,10 +14,10 @@ SUBDIRS = $(PO) src examples doc bindings
# the following files are not mentioned in any other Makefile
EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
intltool-extract.in intltool-merge.in intltool-update.in \
- rrdtool.spec favicon.ico win32/config.h win32/rrd.dsp \
- win32/rrdlib.vcproj win32/rrd.vcproj win32/rrdtool.dsp win32/rrdtool.dsw \
- win32/rrdtool.vcproj win32/Makefile \
- win32/rrd_config.h.msvc netware/Makefile
+ rrdtool.spec favicon.ico win32/Makefile win32/config.h \
+ win32/rrd.dsp win32/rrd.sln win32/rrd.vcproj \
+ win32/rrd_config.h.msvc win32/rrdlib.vcproj win32/rrdtool.dsp \
+ win32/rrdtool.dsw win32/rrdtool.vcproj netware/Makefile
diff --git a/Makefile.in b/Makefile.in
index 180f131..bfb43fc 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -293,6 +293,7 @@ target_alias = @target_alias@
target_cpu = @target_cpu@
target_os = @target_os@
target_vendor = @target_vendor@
+ACLOCAL_AMFLAGS = -I m4
RSYNC = rsync --rsh=ssh
@BUILD_LIBINTL_FALSE@PO =
@@ -301,10 +302,10 @@ RSYNC = rsync --rsh=ssh
SUBDIRS = $(PO) src examples doc bindings
EXTRA_DIST = COPYRIGHT CHANGES WIN32-BUILD-TIPS.txt TODO CONTRIBUTORS THREADS \
intltool-extract.in intltool-merge.in intltool-update.in \
- rrdtool.spec favicon.ico win32/config.h win32/rrd.dsp \
- win32/rrdlib.vcproj win32/rrd.vcproj win32/rrdtool.dsp win32/rrdtool.dsw \
- win32/rrdtool.vcproj win32/Makefile \
- win32/rrd_config.h.msvc netware/Makefile
+ rrdtool.spec favicon.ico win32/Makefile win32/config.h \
+ win32/rrd.dsp win32/rrd.sln win32/rrd.vcproj \
+ win32/rrd_config.h.msvc win32/rrdlib.vcproj win32/rrdtool.dsp \
+ win32/rrdtool.dsw win32/rrdtool.vcproj netware/Makefile
CLEANFILES = config.cache
diff --git a/WIN32-BUILD-TIPS.txt b/WIN32-BUILD-TIPS.txt
index 67d2dd9..b3fae96 100644
--- a/WIN32-BUILD-TIPS.txt
+++ b/WIN32-BUILD-TIPS.txt
@@ -151,7 +151,7 @@ and cd to the bindings\perl-shared subdirectory.
(8) Run vcvars32.bat; this batch file, in your vc98\bin directory will
set necessary environment options for command line compiling.
(9) In bindings\perl-shared, run
-perl ntmake.pl
+perl ntmake-build
nmake
nmake test
If nmake test succeeds, you are good to go. RRDs.dll is in
diff --git a/bindings/Makefile.am b/bindings/Makefile.am
index cd5cd21..d975032 100644
--- a/bindings/Makefile.am
+++ b/bindings/Makefile.am
@@ -8,7 +8,7 @@ SUBDIRS = $(SUB_tcl)
# the following files are not mentioned in any other Makefile
EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
- perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t \
+ perl-shared/ntmake-build perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t \
ruby/CHANGES ruby/README ruby/extconf.rb ruby/main.c ruby/test.rb \
python/ACKNOWLEDGEMENT python/AUTHORS python/COPYING python/README python/rrdtoolmodule.c python/setup.py
diff --git a/bindings/Makefile.in b/bindings/Makefile.in
index a08bb0f..284d7fa 100644
--- a/bindings/Makefile.in
+++ b/bindings/Makefile.in
@@ -284,7 +284,7 @@ SUBDIRS = $(SUB_tcl)
# the following files are not mentioned in any other Makefile
EXTRA_DIST = perl-piped/MANIFEST perl-piped/README perl-piped/Makefile.PL perl-piped/RRDp.pm perl-piped/t/base.t \
- perl-shared/ntmake.pl perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t \
+ perl-shared/ntmake-build perl-shared/MANIFEST perl-shared/README perl-shared/Makefile.PL perl-shared/RRDs.pm perl-shared/RRDs.xs perl-shared/t/base.t \
ruby/CHANGES ruby/README ruby/extconf.rb ruby/main.c ruby/test.rb \
python/ACKNOWLEDGEMENT python/AUTHORS python/COPYING python/README python/rrdtoolmodule.c python/setup.py
diff --git a/bindings/perl-piped/RRDp.pm b/bindings/perl-piped/RRDp.pm
index 618707e..dc79358 100644
--- a/bindings/perl-piped/RRDp.pm
+++ b/bindings/perl-piped/RRDp.pm
@@ -121,7 +121,7 @@ sub cmd (@);
sub end ();
sub read ();
-$VERSION=1.3005;
+$VERSION=1.3007;
sub start ($){
croak "rrdtool is already running"
diff --git a/bindings/perl-shared/MANIFEST b/bindings/perl-shared/MANIFEST
index 664d231..0f30b7e 100644
--- a/bindings/perl-shared/MANIFEST
+++ b/bindings/perl-shared/MANIFEST
@@ -1,4 +1,4 @@
-ntmake.pl
+ntmake-build
MANIFEST
README
Makefile.PL
diff --git a/bindings/perl-shared/RRDs.pm b/bindings/perl-shared/RRDs.pm
index 0b1958e..c9889d0 100644
--- a/bindings/perl-shared/RRDs.pm
+++ b/bindings/perl-shared/RRDs.pm
@@ -7,7 +7,7 @@ use vars qw(@ISA $VERSION);
require DynaLoader;
-$VERSION=1.3005;
+$VERSION=1.3007;
bootstrap RRDs $VERSION;
@@ -38,9 +38,9 @@ RRDs - Access RRDtool as a shared module
=head2 Calling Sequence
-This module accesses RRDtool functionality directly from within perl. The
+This module accesses RRDtool functionality directly from within Perl. The
arguments to the functions listed in the SYNOPSIS are explained in the regular
-RRDtool documentation. The commandline call
+RRDtool documentation. The command line call
rrdtool update mydemo.rrd --template in:out N:12:13
@@ -98,7 +98,7 @@ the values of the properties.
print "$key = $$hash{$key}\n";
}
-B takes the same paramters as B but it returns a
+B takes the same parameters as B but it returns a
pointer to hash. The hash returned contains meta information about the
graph. Like its size as well as the position of the graph area on the image.
When calling with and empty filename than the contents of the graph will be
@@ -135,8 +135,8 @@ See the examples directory for more ways to use this extension.
=head1 NOTE
-If you are manipulating the TZ variable you should also call the posixs
-function tzset to initialize all internal state of the library for properly
+If you are manipulating the TZ variable you should also call the POSIX
+function L to initialize all internal state of the library for properly
operating in the timezone of your choice.
use POSIX qw(tzset);
diff --git a/bindings/perl-shared/ntmake-build b/bindings/perl-shared/ntmake-build
new file mode 100644
index 0000000..047b76f
--- /dev/null
+++ b/bindings/perl-shared/ntmake-build
@@ -0,0 +1,27 @@
+use ExtUtils::MakeMaker;
+use Config;
+# See lib/ExtUtils/MakeMaker.pm for details of how to influence
+# the contents of the Makefile that is written.
+# Run VCVARS32.BAT before generating makefile/compiling.
+WriteMakefile(
+ 'NAME' => 'RRDs',
+ 'VERSION_FROM' => 'RRDs.pm',
+# 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
+# keep compatible w/ ActiveState 5xx builds
+ 'DEFINE' => "-DPERLPATCHLEVEL=5",
+
+ 'INC' => '-I../../src/ "-I/Program Files/GnuWin32/include"',
+# Since we are now using GnuWin32 libraries dynamically (instead of static
+# complile with code redistributed with rrdtool), use /MD instead of /MT.
+# Yes, this means we need msvcrt.dll but GnuWin32 dlls already require it
+# and it is available on most versions of Windows.
+ 'OPTIMIZE' => '-O2 -MD',
+ 'LIBS' => '../../src/release/rrd.lib "/Program Files/GnuWin32/lib/libart_lgpl.lib" "/Program Files/GnuWin32/lib/libz.lib" "/Program Files/GnuWin32/lib/libpng.lib" "/Program Files/GnuWin32/lib/libfreetype.lib"',
+ 'realclean' => {FILES => 't/demo?.rrd t/demo?.png' },
+ ($] ge '5.005') ? (
+ 'AUTHOR' => 'Tobias Oetiker (tobi@oetiker.ch)',
+ 'ABSTRACT' => 'Round Robin Database Tool',
+ ) : ()
+
+
+);
diff --git a/bindings/perl-shared/ntmake.pl b/bindings/perl-shared/ntmake.pl
deleted file mode 100644
index 047b76f..0000000
--- a/bindings/perl-shared/ntmake.pl
+++ /dev/null
@@ -1,27 +0,0 @@
-use ExtUtils::MakeMaker;
-use Config;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
-# Run VCVARS32.BAT before generating makefile/compiling.
-WriteMakefile(
- 'NAME' => 'RRDs',
- 'VERSION_FROM' => 'RRDs.pm',
-# 'DEFINE' => "-DPERLPATCHLEVEL=$Config{PATCHLEVEL}",
-# keep compatible w/ ActiveState 5xx builds
- 'DEFINE' => "-DPERLPATCHLEVEL=5",
-
- 'INC' => '-I../../src/ "-I/Program Files/GnuWin32/include"',
-# Since we are now using GnuWin32 libraries dynamically (instead of static
-# complile with code redistributed with rrdtool), use /MD instead of /MT.
-# Yes, this means we need msvcrt.dll but GnuWin32 dlls already require it
-# and it is available on most versions of Windows.
- 'OPTIMIZE' => '-O2 -MD',
- 'LIBS' => '../../src/release/rrd.lib "/Program Files/GnuWin32/lib/libart_lgpl.lib" "/Program Files/GnuWin32/lib/libz.lib" "/Program Files/GnuWin32/lib/libpng.lib" "/Program Files/GnuWin32/lib/libfreetype.lib"',
- 'realclean' => {FILES => 't/demo?.rrd t/demo?.png' },
- ($] ge '5.005') ? (
- 'AUTHOR' => 'Tobias Oetiker (tobi@oetiker.ch)',
- 'ABSTRACT' => 'Round Robin Database Tool',
- ) : ()
-
-
-);
diff --git a/configure b/configure
index bf3cd23..094d188 100755
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.61 for rrdtool 1.3.5.
+# Generated by GNU Autoconf 2.61 for rrdtool 1.3.7.
#
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
@@ -726,8 +726,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='rrdtool'
PACKAGE_TARNAME='rrdtool'
-PACKAGE_VERSION='1.3.5'
-PACKAGE_STRING='rrdtool 1.3.5'
+PACKAGE_VERSION='1.3.7'
+PACKAGE_STRING='rrdtool 1.3.7'
PACKAGE_BUGREPORT=''
ac_default_prefix=/usr/local/rrdtool-$PACKAGE_VERSION
@@ -1513,7 +1513,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures rrdtool 1.3.5 to adapt to many kinds of systems.
+\`configure' configures rrdtool 1.3.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1584,7 +1584,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of rrdtool 1.3.5:";;
+ short | recursive ) echo "Configuration of rrdtool 1.3.7:";;
esac
cat <<\_ACEOF
@@ -1724,7 +1724,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-rrdtool configure 1.3.5
+rrdtool configure 1.3.7
generated by GNU Autoconf 2.61
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
@@ -1738,7 +1738,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by rrdtool $as_me 1.3.5, which was
+It was created by rrdtool $as_me 1.3.7, which was
generated by GNU Autoconf 2.61. Invocation command line was
$ $0 $@
@@ -2092,10 +2092,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
-NUMVERS=1.3005
+NUMVERS=1.3007
-LIBVERS=4:4:0
+LIBVERS=4:6:0
ac_aux_dir=
@@ -2541,7 +2541,7 @@ fi
# Define the identity of the package.
PACKAGE='rrdtool'
- VERSION='1.3.5'
+ VERSION='1.3.7'
cat >>confdefs.h <<_ACEOF
@@ -2712,6 +2712,7 @@ fi
+
ac_config_headers="$ac_config_headers rrd_config.h"
@@ -4874,7 +4875,7 @@ ia64-*-hpux*)
;;
*-*-irix6*)
# Find out which ABI we are using.
- echo '#line 4877 "configure"' > conftest.$ac_ext
+ echo '#line 4878 "configure"' > conftest.$ac_ext
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
(eval $ac_compile) 2>&5
ac_status=$?
@@ -7697,11 +7698,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7700: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7701: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7704: \$? = $ac_status" >&5
+ echo "$as_me:7705: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -7987,11 +7988,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:7990: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:7991: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:7994: \$? = $ac_status" >&5
+ echo "$as_me:7995: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -8091,11 +8092,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:8094: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:8095: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:8098: \$? = $ac_status" >&5
+ echo "$as_me:8099: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -10468,7 +10469,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext < conftest.$ac_ext <&5)
+ (eval echo "\"\$as_me:12973: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:12976: \$? = $ac_status" >&5
+ echo "$as_me:12977: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -13073,11 +13074,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:13076: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:13077: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:13080: \$? = $ac_status" >&5
+ echo "$as_me:13081: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -14671,11 +14672,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14674: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14675: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:14678: \$? = $ac_status" >&5
+ echo "$as_me:14679: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -14775,11 +14776,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:14778: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:14779: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:14782: \$? = $ac_status" >&5
+ echo "$as_me:14783: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -16995,11 +16996,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:16998: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:16999: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17002: \$? = $ac_status" >&5
+ echo "$as_me:17003: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -17285,11 +17286,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17288: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17289: $lt_compile\"" >&5)
(eval "$lt_compile" 2>conftest.err)
ac_status=$?
cat conftest.err >&5
- echo "$as_me:17292: \$? = $ac_status" >&5
+ echo "$as_me:17293: \$? = $ac_status" >&5
if (exit $ac_status) && test -s "$ac_outfile"; then
# The compiler can only warn and ignore the option if not recognized
# So say no if there are warnings other than the usual output.
@@ -17389,11 +17390,11 @@ else
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
-e 's:$: $lt_compiler_flag:'`
- (eval echo "\"\$as_me:17392: $lt_compile\"" >&5)
+ (eval echo "\"\$as_me:17393: $lt_compile\"" >&5)
(eval "$lt_compile" 2>out/conftest.err)
ac_status=$?
cat out/conftest.err >&5
- echo "$as_me:17396: \$? = $ac_status" >&5
+ echo "$as_me:17397: \$? = $ac_status" >&5
if (exit $ac_status) && test -s out/conftest2.$ac_objext
then
# The compiler can only warn and ignore the option if not recognized
@@ -20604,7 +20605,8 @@ fi
-for ac_header in features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h
+
+for ac_header in libgen.h features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h
do
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
@@ -21767,8 +21769,170 @@ esac
+for ac_func in tzset fsync mbstowcs opendir readdir chdir chroot getuid setlocale strerror snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday
+do
+as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
+{ echo "$as_me:$LINENO: checking for $ac_func" >&5
+echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
+if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+/* Define $ac_func to an innocuous variant, in case declares $ac_func.
+ For example, HP-UX 11i declares gettimeofday. */
+#define $ac_func innocuous_$ac_func
+
+/* System header to define __stub macros and hopefully few prototypes,
+ which can conflict with char $ac_func (); below.
+ Prefer to if __STDC__ is defined, since
+ exists even on freestanding compilers. */
+
+#ifdef __STDC__
+# include
+#else
+# include
+#endif
+
+#undef $ac_func
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char $ac_func ();
+/* The GNU C library defines this for functions which it implements
+ to always fail with ENOSYS. Some functions are actually named
+ something starting with __ and the normal name is an alias. */
+#if defined __stub_$ac_func || defined __stub___$ac_func
+choke me
+#endif
+
+int
+main ()
+{
+return $ac_func ();
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest$ac_exeext &&
+ $as_test_x conftest$ac_exeext; then
+ eval "$as_ac_var=yes"
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ eval "$as_ac_var=no"
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+ac_res=`eval echo '${'$as_ac_var'}'`
+ { echo "$as_me:$LINENO: result: $ac_res" >&5
+echo "${ECHO_T}$ac_res" >&6; }
+if test `eval echo '${'$as_ac_var'}'` = yes; then
+ cat >>confdefs.h <<_ACEOF
+#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
+_ACEOF
+
+fi
+done
+
+
+{ echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
+echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6; }
+if test "${ac_cv_have_decl_strerror_r+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+#ifndef strerror_r
+ (void) strerror_r;
+#endif
-for ac_func in tzset fsync mbstowcs opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_have_decl_strerror_r=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+ ac_cv_have_decl_strerror_r=no
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
+echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6; }
+if test $ac_cv_have_decl_strerror_r = yes; then
+
+cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRERROR_R 1
+_ACEOF
+
+
+else
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_DECL_STRERROR_R 0
+_ACEOF
+
+
+fi
+
+
+
+for ac_func in strerror_r
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
@@ -21861,6 +22025,132 @@ _ACEOF
fi
done
+{ echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
+echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6; }
+if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+else
+
+ ac_cv_func_strerror_r_char_p=no
+ if test $ac_cv_have_decl_strerror_r = yes; then
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+int
+main ()
+{
+
+ char buf[100];
+ char x = *strerror_r (0, buf, sizeof buf);
+ char *p = strerror_r (0, buf, sizeof buf);
+ return !p || x;
+
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest.$ac_objext
+if { (ac_try="$ac_compile"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_compile") 2>conftest.er1
+ ac_status=$?
+ grep -v '^ *+' conftest.er1 >conftest.err
+ rm -f conftest.er1
+ cat conftest.err >&5
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && {
+ test -z "$ac_c_werror_flag" ||
+ test ! -s conftest.err
+ } && test -s conftest.$ac_objext; then
+ ac_cv_func_strerror_r_char_p=yes
+else
+ echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+
+fi
+
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ else
+ # strerror_r is not declared. Choose between
+ # systems that have relatively inaccessible declarations for the
+ # function. BeOS and DEC UNIX 4.0 fall in this category, but the
+ # former has a strerror_r that returns char*, while the latter
+ # has a strerror_r that returns `int'.
+ # This test should segfault on the DEC system.
+ if test "$cross_compiling" = yes; then
+ :
+else
+ cat >conftest.$ac_ext <<_ACEOF
+/* confdefs.h. */
+_ACEOF
+cat confdefs.h >>conftest.$ac_ext
+cat >>conftest.$ac_ext <<_ACEOF
+/* end confdefs.h. */
+$ac_includes_default
+ extern char *strerror_r ();
+int
+main ()
+{
+char buf[100];
+ char x = *strerror_r (0, buf, sizeof buf);
+ return ! isalpha (x);
+ ;
+ return 0;
+}
+_ACEOF
+rm -f conftest$ac_exeext
+if { (ac_try="$ac_link"
+case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_link") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
+ { (case "(($ac_try" in
+ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+ *) ac_try_echo=$ac_try;;
+esac
+eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
+ (eval "$ac_try") 2>&5
+ ac_status=$?
+ echo "$as_me:$LINENO: \$? = $ac_status" >&5
+ (exit $ac_status); }; }; then
+ ac_cv_func_strerror_r_char_p=yes
+else
+ echo "$as_me: program exited with status $ac_status" >&5
+echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+fi
+rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
+fi
+
+
+ fi
+
+fi
+{ echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
+echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6; }
+if test $ac_cv_func_strerror_r_char_p = yes; then
+
+cat >>confdefs.h <<\_ACEOF
+#define STRERROR_R_CHAR_P 1
+_ACEOF
+
+fi
+
case $TERM in
@@ -33240,7 +33530,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by rrdtool $as_me 1.3.5, which was
+This file was extended by rrdtool $as_me 1.3.7, which was
generated by GNU Autoconf 2.61. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -33293,7 +33583,7 @@ Report bugs to ."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
-rrdtool config.status 1.3.5
+rrdtool config.status 1.3.7
configured by $0, generated by GNU Autoconf 2.61,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
diff --git a/configure.ac b/configure.ac
index a700831..496841f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -9,14 +9,14 @@ dnl tell automake the this script is for rrdtool
dnl the official version number is
dnl a.b.c
-AC_INIT([rrdtool],[1.3.5])
+AC_INIT([rrdtool],[1.3.7])
dnl for testing a numberical version number comes handy
dnl the released version are
dnl a.bccc
dnl the devel versions will be something like
dnl a.b999yymmddhh
-NUMVERS=1.3005
+NUMVERS=1.3007
AC_SUBST(NUMVERS)
dnl for the linker to understand which versions the library are compatible with
@@ -27,13 +27,14 @@ dnl - if any functionality was removed do c++,r=0,a=0.
dnl
dnl see http://sourceware.org/autobook/autobook/autobook_91.html
dnl
-LIBVERS=4:4:0
+LIBVERS=4:6:0
AC_SUBST(LIBVERS)
AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
+AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_HEADERS([rrd_config.h])
dnl all our local stuff like install scripts and include files
@@ -160,7 +161,7 @@ CONFIGURE_PART(Checking for Header Files)
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_DIRENT
-AC_CHECK_HEADERS(features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
+AC_CHECK_HEADERS(libgen.h features.h sys/stat.h sys/types.h fcntl.h locale.h fp_class.h malloc.h unistd.h ieeefp.h math.h sys/times.h sys/param.h sys/resource.h signal.h float.h stdio.h stdlib.h errno.h string.h ctype.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -187,7 +188,9 @@ AC_C_BIGENDIAN
dnl for each function found we get a definition in config.h
dnl of the form HAVE_FUNCTION
-AC_CHECK_FUNCS(tzset fsync mbstowcs opendir readdir chdir chroot getuid setlocale strerror strerror_r snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday)
+AC_CHECK_FUNCS(tzset fsync mbstowcs opendir readdir chdir chroot getuid setlocale strerror snprintf vsnprintf fpclass class fp_class isnan memmove strchr mktime getrusage gettimeofday)
+
+AC_FUNC_STRERROR_R
CONFIGURE_PART(Map/Fadvis/Madvise checking)
diff --git a/doc/RRDs.html b/doc/RRDs.html
index fc71f3c..a0db39b 100644
--- a/doc/RRDs.html
+++ b/doc/RRDs.html
@@ -60,9 +60,9 @@
-This module accesses RRDtool functionality directly from within perl. The
+
This module accesses RRDtool functionality directly from within Perl. The
arguments to the functions listed in the SYNOPSIS are explained in the regular
-RRDtool documentation. The commandline call
+RRDtool documentation. The command line call
rrdtool update mydemo.rrd --template in:out N:12:13
gets turned into
@@ -111,7 +111,7 @@ the values of the properties.
foreach my $key (keys %$hash){
print "$key = $$hash{$key}\n";
}
-RRDs::graphv takes the same paramters as RRDs::graph but it returns a
+
RRDs::graphv takes the same parameters as RRDs::graph but it returns a
pointer to hash. The hash returned contains meta information about the
graph. Like its size as well as the position of the graph area on the image.
When calling with and empty filename than the contents of the graph will be
@@ -145,8 +145,8 @@ epoch (1970-01-01) for the supplied ``start'' and ``end'' arguments, respectivel
-If you are manipulating the TZ variable you should also call the posixs
-function tzset to initialize all internal state of the library for properly
+
If you are manipulating the TZ variable you should also call the POSIX
+function tzset(3) to initialize all internal state of the library for properly
operating in the timezone of your choice.
use POSIX qw(tzset);
diff --git a/doc/bin_dec_hex.1 b/doc/bin_dec_hex.1
index 13b92bb..c4936de 100644
--- a/doc/bin_dec_hex.1
+++ b/doc/bin_dec_hex.1
@@ -129,7 +129,7 @@
.\" ========================================================================
.\"
.IX Title "BIN_DEC_HEX 1"
-.TH BIN_DEC_HEX 1 "2008-03-15" "1.3.5" "rrdtool"
+.TH BIN_DEC_HEX 1 "2009-02-21" "1.3.7" "rrdtool"
.SH "NAME"
bin_dec_hex \- How to use binary, decimal, and hexadecimal notation.
.SH "DESCRIPTION"
@@ -300,7 +300,8 @@ you're writing in. Some of the prefixes are \*(L"0x\*(R" for C, \*(L"$\*(R" for
Pascal, \*(L"#\*(R" for \s-1HTML\s0. It is common to assume that if a number starts
with a zero, it is octal. It does not matter what is used as long as
you know what it is. I will use \*(L"0x\*(R" for hexadecimal, \*(L"%\*(R" for binary
-and \*(L"0\*(R" for octal. The following numbers are all the same, just their represenatation (base) is different: 021 0x11 17 \f(CW%00010001\fR
+and \*(L"0\*(R" for octal. The following numbers are all the same, just their
+representation (base) is different: 021 0x11 17 \f(CW%00010001\fR
.PP
To do arithmetics and conversions you need to understand one more thing.
It is something you already know but perhaps you do not \*(L"see\*(R" it yet:
@@ -408,7 +409,7 @@ is therefore \*(L"0\*(R" and we now have 0xA0??.
(which is just plain 16) four times and write down \*(L"4\*(R" to get 0xA04?.
Subtract 64 from 69 (69 \- 4*16) and the last digit is 5 \-\-> 0xA045.
.PP
-The other method builds ub the number from the right. Let's try 41'029
+The other method builds up the number from the right. Let's try 41'029
again. Divide by 16 and do not use fractions (only whole numbers).
.PP
.Vb 4
@@ -532,4 +533,4 @@ other people by pointing them to this document when they are asking
basic questions. They will not only get their answer, but at the same
time learn a whole lot more.
.PP
-Alex van den Bogaerdt
+Alex van den Bogaerdt
diff --git a/doc/bin_dec_hex.html b/doc/bin_dec_hex.html
index 7fcc027..1592801 100644
--- a/doc/bin_dec_hex.html
+++ b/doc/bin_dec_hex.html
@@ -170,7 +170,8 @@ you're writing in. Some of the prefixes are ``0x'' for C, ``$'' for
Pascal, ``#'' for HTML. It is common to assume that if a number starts
with a zero, it is octal. It does not matter what is used as long as
you know what it is. I will use ``0x'' for hexadecimal, ``%'' for binary
-and ``0'' for octal. The following numbers are all the same, just their represenatation (base) is different: 021 0x11 17 %00010001
+and ``0'' for octal. The following numbers are all the same, just their
+representation (base) is different: 021 0x11 17 %00010001
To do arithmetics and conversions you need to understand one more thing.
It is something you already know but perhaps you do not ``see'' it yet:
If you write down 1234, (no prefix, so it is decimal) you are talking
@@ -249,7 +250,7 @@ is therefore ``0'' and we now have 0xA0??.
69 is smaller than 16^2 and bigger than 16^1-1. We can subtract 16^1
(which is just plain 16) four times and write down ``4'' to get 0xA04?.
Subtract 64 from 69 (69 - 4*16) and the last digit is 5 --> 0xA045.
-The other method builds ub the number from the right. Let's try 41'029
+
The other method builds up the number from the right. Let's try 41'029
again. Divide by 16 and do not use fractions (only whole numbers).
41'029 / 16 is 2'564 with a remainder of 5. Write down 5.
@@ -349,7 +350,7 @@ calculator and can compute in binary or hexadecimal.
other people by pointing them to this document when they are asking
basic questions. They will not only get their answer, but at the same
time learn a whole lot more.
-Alex van den Bogaerdt <alex@ergens.op.het.net>
+Alex van den Bogaerdt <alex@vandenbogaerdt.nl>