added explanation on the rows returned from fetch. fix for #291.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2170 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2170 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure we do not free stuff in rrdnew which was simply copied from rrdold and thus gets freed there already ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2169 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2169 a5681a0c-68f1-0310-ab6d-d61299d08faa
added hitmeister
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2168 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2168 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix wording regarding min/max setting
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2167 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2167 a5681a0c-68f1-0310-ab6d-d61299d08faa
do not close the filehandle to the resize file of there was a problem getting it in the first place.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2166 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2166 a5681a0c-68f1-0310-ab6d-d61299d08faa
sync sponsorships with reality
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2165 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2165 a5681a0c-68f1-0310-ab6d-d61299d08faa
added nagios
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2164 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2164 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated changes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2162 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2162 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.5
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2161 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2161 a5681a0c-68f1-0310-ab6d-d61299d08faa
it there is no right label, do not reserve any space for it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2160 a5681a0c-68f1-0310-ab6d-d61299d08faa
make configure recognize tcl-site argument (#281)
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2159 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2159 a5681a0c-68f1-0310-ab6d-d61299d08faa
add some extra checks to RRA arguments
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2158 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2158 a5681a0c-68f1-0310-ab6d-d61299d08faa
make MAP_PRIVATE conditional on AIX not being defined ... should fix part of #216
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2157 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2157 a5681a0c-68f1-0310-ab6d-d61299d08faa
Sigma calculation had an error. The first data value in each bin didn't get squared. -- Hans Jørgen Jakobsen
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2154 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2154 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Fix permissions of the default socket.
If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).
This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa
If neither the "-l" nor the "-P" options have been given, a UNIX domain
socket at a default location is created. However, due to a missing
initialization in this case, the "permissions" field will be left at
zero (no command allowed).
This patch fixes this problem by allowing all commands on the default
socket if no "-P" option is given. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2152 a5681a0c-68f1-0310-ab6d-d61299d08faa
13 years agoadd extra space to LDFLAGS when building ruby bindings ... otherwhise this will break...
add extra space to LDFLAGS when building ruby bindings ... otherwhise this will break if there is already content in LDFLAGS ... fix for #284 thanks dam at opencsw.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2151 a5681a0c-68f1-0310-ab6d-d61299d08faa
aix does not know about -Wl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2150 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2150 a5681a0c-68f1-0310-ab6d-d61299d08faa
added not on using LINE AREA or PRINT
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2148 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2148 a5681a0c-68f1-0310-ab6d-d61299d08faa
introduce "epoch" as a new base time reference, meaning timestamp 0.
This disambiguates between some "at-style" time specs:
11111111 yields an error message:
did you really mean month 1111111?
and
19711205 denotes Dec 12, 1971 and not the timestamp.
The patch allows to write:
epoch+11111111s or epoch+19711205s
-- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2147 a5681a0c-68f1-0310-ab6d-d61299d08faa
This disambiguates between some "at-style" time specs:
11111111 yields an error message:
did you really mean month 1111111?
and
19711205 denotes Dec 12, 1971 and not the timestamp.
The patch allows to write:
epoch+11111111s or epoch+19711205s
-- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2147 a5681a0c-68f1-0310-ab6d-d61299d08faa
Here is a patch that fixes a serious endless loop problem on 32 bit
architectures near the timestamp 2^31 (oh yes - y2k038 is showing its ugly
face) when using the graph command(s). Once the endtime of a graph is
above the mentioned timestamp, mktime always returns -1 (and correctly
so), causing some loops to loop forever. The patch fixes this, causing
some strange output, but there is no other sane way to handle this (expect
by switching to a 64 bit platform). -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2146 a5681a0c-68f1-0310-ab6d-d61299d08faa
architectures near the timestamp 2^31 (oh yes - y2k038 is showing its ugly
face) when using the graph command(s). Once the endtime of a graph is
above the mentioned timestamp, mktime always returns -1 (and correctly
so), causing some loops to loop forever. The patch fixes this, causing
some strange output, but there is no other sane way to handle this (expect
by switching to a 64 bit platform). -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2146 a5681a0c-68f1-0310-ab6d-d61299d08faa
add hosts_access support to rrdcached -- Shaun Reitan mailinglists@unix-scripts.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2145 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2145 a5681a0c-68f1-0310-ab6d-d61299d08faa
cached is using tcp not udp ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2144 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2144 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure we do not try to draw points all that far outside the drawing area
since some versions of cairo seem to go unstable when this happens. -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2142 a5681a0c-68f1-0310-ab6d-d61299d08faa
since some versions of cairo seem to go unstable when this happens. -- Peter Stamfest
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2142 a5681a0c-68f1-0310-ab6d-d61299d08faa
update gold sponsorship
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2140 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2140 a5681a0c-68f1-0310-ab6d-d61299d08faa
follow the normal code path for exiting rrd_update if there is a problem with rrdc, plugging a memory leak on the way -- Christian Magnusson
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2139 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2139 a5681a0c-68f1-0310-ab6d-d61299d08faa
free addrinfo list after use ... -- Christian Magnusson
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2138 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2138 a5681a0c-68f1-0310-ab6d-d61299d08faa
Ensure that response_read() always calls fflush() or fclose().
This fixes defect #278 (unknown commands from Solaris client). -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2135 a5681a0c-68f1-0310-ab6d-d61299d08faa
This fixes defect #278 (unknown commands from Solaris client). -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2135 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix ruby bindings to be compatible with curent ruby implementations fix for #279
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2132 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2132 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix use of %s in strftime rrdgraph (G)PRINT commands ... bug (#277) found by Denis, fix by tobi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2129 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2129 a5681a0c-68f1-0310-ab6d-d61299d08faa
it seems that strcasecmp and strcasencmp have issues on windows replace
with stricmp and strnicmp -- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa
with stricmp and strnicmp -- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2128 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix use of setlocale all over the place ...
- old_locale = setlocale(LC_NUMERIC, "C");
+ old_locale = setlocale(LC_NUMERIC, NULL);
+ setlocale(LC_NUMERIC, "C");
the original version never restored the locale since it held a copy of the
new locale and not the old one despite the name. bug found by Pawe? 'Reef' Polewicz
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2127 a5681a0c-68f1-0310-ab6d-d61299d08faa
- old_locale = setlocale(LC_NUMERIC, "C");
+ old_locale = setlocale(LC_NUMERIC, NULL);
+ setlocale(LC_NUMERIC, "C");
the original version never restored the locale since it held a copy of the
new locale and not the old one despite the name. bug found by Pawe? 'Reef' Polewicz
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2127 a5681a0c-68f1-0310-ab6d-d61299d08faa
remove observernms as it is now called observium
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2126 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2126 a5681a0c-68f1-0310-ab6d-d61299d08faa
more world and gallery entries
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2125 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2125 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix MSVC2008 compilation ... it does not understand char *const *argv iin rrd_getopt
-- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2124 a5681a0c-68f1-0310-ab6d-d61299d08faa
-- jkane mail.com
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2124 a5681a0c-68f1-0310-ab6d-d61299d08faa
make sure an extra %s in the secondi axis format does not kill us
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2123 a5681a0c-68f1-0310-ab6d-d61299d08faa
it's filename not filtename
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2122 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2122 a5681a0c-68f1-0310-ab6d-d61299d08faa
in remote mode, make argument count for remote commmands strict as suggested by Dave Peticolas
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2119 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2119 a5681a0c-68f1-0310-ab6d-d61299d08faa
14 years agoFirst bug: in function rrd_fetch_fn_libdbi() variable 'struct sql_table_helper table_...
First bug: in function rrd_fetch_fn_libdbi() variable 'struct sql_table_helper table_help'
field 'filename' is uninitialized. So, if a sql error happens, it does not print an error like this
rrd_set_error( "libdbi: problems connecting to db with connect string %s - error: %s",th->filename,dbi_errstr);
instead of, it dumps core.
Second bug: when the output data buffer is allocated, it allocated for 'rows-1' max index, but in
'fetch loop' 'idx' may be equal to 'rows', so it needs one more extra record in data.
-- Pavel Nikiforov pavel artx.ru
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2118 a5681a0c-68f1-0310-ab6d-d61299d08faa
field 'filename' is uninitialized. So, if a sql error happens, it does not print an error like this
rrd_set_error( "libdbi: problems connecting to db with connect string %s - error: %s",th->filename,dbi_errstr);
instead of, it dumps core.
Second bug: when the output data buffer is allocated, it allocated for 'rows-1' max index, but in
'fetch loop' 'idx' may be equal to 'rows', so it needs one more extra record in data.
-- Pavel Nikiforov pavel artx.ru
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2118 a5681a0c-68f1-0310-ab6d-d61299d08faa
hunting down pango allocation issues ... now the memory loss in rrd_graph seems to be independant of the number
of graphs generated. fix for #208
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2117 a5681a0c-68f1-0310-ab6d-d61299d08faa
of graphs generated. fix for #208
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2117 a5681a0c-68f1-0310-ab6d-d61299d08faa
14 years agorrdcached: Let the -s, -m and -P options affect the default socket as well -- Sebasti...
rrdcached: Let the -s, -m and -P options affect the default socket as well -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2116 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2116 a5681a0c-68f1-0310-ab6d-d61299d08faa
print \n for log messages while runing rrdcached in the foreground ... suggested by Bernard Li
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2115 a5681a0c-68f1-0310-ab6d-d61299d08faa
one with is enough
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2114 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2114 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2112 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2112 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2110 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2110 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2109 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2109 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2108 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2108 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2107 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2107 a5681a0c-68f1-0310-ab6d-d61299d08faa
prepare for the release of rrdtool-1.4.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2106 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2106 a5681a0c-68f1-0310-ab6d-d61299d08faa
do not try to whisk i18n support into existance ... use it when its there
don't when it is not, rrdtool works fine either way.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2104 a5681a0c-68f1-0310-ab6d-d61299d08faa
don't when it is not, rrdtool works fine either way.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2104 a5681a0c-68f1-0310-ab6d-d61299d08faa
* make rrd_getopt compile on solaris
* unify isinf isnan definitions for compilation and configuration
* replace round by rint if round is not available
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2103 a5681a0c-68f1-0310-ab6d-d61299d08faa
* unify isinf isnan definitions for compilation and configuration
* replace round by rint if round is not available
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2103 a5681a0c-68f1-0310-ab6d-d61299d08faa
written change log
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2102 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2102 a5681a0c-68f1-0310-ab6d-d61299d08faa
backport FP_* fixes and revert FPCLASSIFY fix since there the FP_* values are defines.
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2101 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2101 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated build tips for updated win32 port by Chris Larsen
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2099 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2099 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_update and rrd_rpncalc - fix casts introduced by win32 patch to make gcc happy too
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2098 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2098 a5681a0c-68f1-0310-ab6d-d61299d08faa
these are bash scripts so lets call bash
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2097 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2097 a5681a0c-68f1-0310-ab6d-d61299d08faa
* patches to make rrdtool compile on win32 (trunk and 1.4)
* dotnet bindings (trunk) by Euphoria Audio
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2095 a5681a0c-68f1-0310-ab6d-d61299d08faa
* dotnet bindings (trunk) by Euphoria Audio
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2095 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_client.c: Fix a potential segmentation fault in "get_path".
The "get_path" function is called at least from "rrdc_update" without
checking for a connection first. In that case the "sd_path" pointer may be
NULL, so dereferencing it without checking for NULL is not good behavior.
This patch checks all arguments of the "get_path" function and returns an
error if any pointer is NULL. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2094 a5681a0c-68f1-0310-ab6d-d61299d08faa
The "get_path" function is called at least from "rrdc_update" without
checking for a connection first. In that case the "sd_path" pointer may be
NULL, so dereferencing it without checking for NULL is not good behavior.
This patch checks all arguments of the "get_path" function and returns an
error if any pointer is NULL. -- Florian Forster
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2094 a5681a0c-68f1-0310-ab6d-d61299d08faa
fixed solaris regression introduced in r1904 ... now the isnan macro should work again ...
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2093 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2093 a5681a0c-68f1-0310-ab6d-d61299d08faa
Tiny, tiny documentation fix -- Peter Valdemar Mørch
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2091 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2091 a5681a0c-68f1-0310-ab6d-d61299d08faa
added ivaylo
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2089 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2089 a5681a0c-68f1-0310-ab6d-d61299d08faa
MAC OS X ships with binaries named 'libtool' and 'libtoolize' which are
not the GNU tools. Those are prefixed with letter 'g'. -- Antoine Musso
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2086 a5681a0c-68f1-0310-ab6d-d61299d08faa
not the GNU tools. Those are prefixed with letter 'g'. -- Antoine Musso
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2086 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_open: include rrd_tool.h at the very start so that utime.h gets included if HAVE_BROKEN_MS_ASYNC
got set by configure. -- Antoine MUSSO
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2085 a5681a0c-68f1-0310-ab6d-d61299d08faa
got set by configure. -- Antoine MUSSO
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2085 a5681a0c-68f1-0310-ab6d-d61299d08faa
[rrd_client.c] RRD client should resolve all paths when talking to a unix socket. This allows realpath() to resolve symbolic links, "..", etc. reported by: Eduardo Bragatto -- kevin brintnall
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2083 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2083 a5681a0c-68f1-0310-ab6d-d61299d08faa
make the xport command handles the --daemon option properly -- unknown contributor #265
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2082 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2082 a5681a0c-68f1-0310-ab6d-d61299d08faa
extend floss exception to php 3.01 license
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2080 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2080 a5681a0c-68f1-0310-ab6d-d61299d08faa
cant have TIME on it's own in CDEF
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2079 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2079 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrd_client.c: explicitly close the connection on error in
response_read. I've found it to get stuck otherwise. -- Thorsten von Eicken
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2075 a5681a0c-68f1-0310-ab6d-d61299d08faa
response_read. I've found it to get stuck otherwise. -- Thorsten von Eicken
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2075 a5681a0c-68f1-0310-ab6d-d61299d08faa
14 years agowhen using CDEF datasources in rrd, the rpnp in process_pdp_st (allocated in rpn_expa...
when using CDEF datasources in rrd, the rpnp in process_pdp_st (allocated in rpn_expand) in is never freed -- Frederik Kriewitz
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2073 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2073 a5681a0c-68f1-0310-ab6d-d61299d08faa
When specifying a relative path (-j option) rrd_cached would segfault when
trying to read past journals (journal_init function). Added an extra check
to journal_init before reading the directory, and, when parsing the command
line options, to expand the relative path to an absolute path. -- Adrian-Ioan Vasile yoyo@opennet.ro
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2072 a5681a0c-68f1-0310-ab6d-d61299d08faa
trying to read past journals (journal_init function). Added an extra check
to journal_init before reading the directory, and, when parsing the command
line options, to expand the relative path to an absolute path. -- Adrian-Ioan Vasile yoyo@opennet.ro
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2072 a5681a0c-68f1-0310-ab6d-d61299d08faa
Relicense the RRDCacheD client interface under the MIT license. This
allows the interface to be used from non-GPL applications by copying the
source code files into the projects source tree. -- Florian Forster rrdtool@octo.it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2070 a5681a0c-68f1-0310-ab6d-d61299d08faa
allows the interface to be used from non-GPL applications by copying the
source code files into the projects source tree. -- Florian Forster rrdtool@octo.it
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2070 a5681a0c-68f1-0310-ab6d-d61299d08faa
make rrdtool compile with gcc 4.5 if -std=c99 is set -- anicka@suse.cz
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2069 a5681a0c-68f1-0310-ab6d-d61299d08faa
unify marking of unused arguments
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2068 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2068 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix info syntax
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2066 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2066 a5681a0c-68f1-0310-ab6d-d61299d08faa
when printing time_t use %lld with (long long int) for portability
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2057 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2057 a5681a0c-68f1-0310-ab6d-d61299d08faa
* do add intl directory back to Makefile.am ... no use distributing the stuff if we don't use it
* link pangocairo and not pango ... thanks Stephen S. Disbrow for finding this
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2052 a5681a0c-68f1-0310-ab6d-d61299d08faa
* link pangocairo and not pango ... thanks Stephen S. Disbrow for finding this
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2052 a5681a0c-68f1-0310-ab6d-d61299d08faa
added solaris cairo build hint
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2051 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2051 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Updated help output
rrdcached: Exit with status != 0, if an invalid command line option was used. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2049 a5681a0c-68f1-0310-ab6d-d61299d08faa
rrdcached: Exit with status != 0, if an invalid command line option was used. -- Sebastian Harl
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2049 a5681a0c-68f1-0310-ab6d-d61299d08faa
branched from trunk
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2047 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2047 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix roger
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2032 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2032 a5681a0c-68f1-0310-ab6d-d61299d08faa
new silver sponsors
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2019 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2019 a5681a0c-68f1-0310-ab6d-d61299d08faa
added sdr
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2015 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2015 a5681a0c-68f1-0310-ab6d-d61299d08faa
added nedi
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2014 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2014 a5681a0c-68f1-0310-ab6d-d61299d08faa
fix groundwork links
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2009 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2009 a5681a0c-68f1-0310-ab6d-d61299d08faa
re-added groundworks
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2008 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2008 a5681a0c-68f1-0310-ab6d-d61299d08faa
update download instructions
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2007 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2007 a5681a0c-68f1-0310-ab6d-d61299d08faa
removed groundwork form sponsorship
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2004 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@2004 a5681a0c-68f1-0310-ab6d-d61299d08faa
added m5 hosting
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1994 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1994 a5681a0c-68f1-0310-ab6d-d61299d08faa
added m5 hosting
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1993 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1993 a5681a0c-68f1-0310-ab6d-d61299d08faa
added the bitsource
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1991 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1991 a5681a0c-68f1-0310-ab6d-d61299d08faa
initial
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1988 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1988 a5681a0c-68f1-0310-ab6d-d61299d08faa
added new links, sponsor
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1987 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1987 a5681a0c-68f1-0310-ab6d-d61299d08faa
gallery fixes
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1975 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1975 a5681a0c-68f1-0310-ab6d-d61299d08faa
updated gallery
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1974 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1974 a5681a0c-68f1-0310-ab6d-d61299d08faa
update for 1.4
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1966 a5681a0c-68f1-0310-ab6d-d61299d08faa
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.4@1966 a5681a0c-68f1-0310-ab6d-d61299d08faa