This commit is contained in:
parent
4f501fe912
commit
e23b3ae313
@ -1,14 +0,0 @@
|
||||
--- src/rrd_tool.c
|
||||
+++ src/rrd_tool.c
|
||||
@@ -724,9 +724,9 @@
|
||||
for (j = 0; j < col_cnt; j++) {
|
||||
rrd_value_t newval = DNAN;
|
||||
if (enumds == 1)
|
||||
- snprintf(vtag,15,"%s%lu", COL_DATA_TAG, j);
|
||||
+ snprintf(vtag,sizeof(vtag),"%s%lu", COL_DATA_TAG, j);
|
||||
else
|
||||
- snprintf(vtag,15,"%s",COL_DATA_TAG);
|
||||
+ snprintf(vtag,sizeof(vtag),"%s",COL_DATA_TAG);
|
||||
|
||||
newval = *ptr;
|
||||
if(isnan(newval)){
|
@ -1,12 +0,0 @@
|
||||
--- src/rrd_thread_safe.c
|
||||
+++ src/rrd_thread_safe.c
|
||||
@@ -51,7 +51,8 @@
|
||||
#ifdef HAVE_STRERROR_R
|
||||
const char *rrd_strerror(int err) {
|
||||
struct rrd_context *ctx = rrd_get_context();
|
||||
- return strerror_r(err, ctx->lib_errstr, ctx->errlen);
|
||||
+ strerror_r(err, ctx->lib_errstr, ctx->errlen);
|
||||
+ return ctx->lib_errstr;
|
||||
}
|
||||
#else
|
||||
#undef strerror
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:54155613829d42ddc7a52d0db874f4553a24bd160fa0c5263f706a29a53054d1
|
||||
size 784937
|
3
rrdtool-1.2.23.tar.bz2
Normal file
3
rrdtool-1.2.23.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fd820918dad6dc4e96c9aae4d8c57f4e9e473cd523238d15da49bff79be3e15e
|
||||
size 787130
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 4 21:16:36 CEST 2007 - anicka@suse.cz
|
||||
|
||||
- update to 2.1.23
|
||||
* many bugfixes (mostly python)
|
||||
- remove stderr.diff and buffer.diff (fixed in upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 29 14:42:59 CET 2007 - anicka@suse.cz
|
||||
|
||||
|
16
rrdtool.spec
16
rrdtool.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package rrdtool (Version 1.2.18)
|
||||
# spec file for package rrdtool (Version 1.2.23)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
@ -16,13 +16,11 @@ License: GNU General Public License (GPL)
|
||||
Group: Productivity/Scientific/Math
|
||||
Autoreqprov: on
|
||||
Requires: perl = %{perl_version}
|
||||
Version: 1.2.18
|
||||
Version: 1.2.23
|
||||
Release: 1
|
||||
Source: %{name}-%{version}.tar.bz2
|
||||
Source1: cgilib-0.5.tar.bz2
|
||||
Patch: %{name}-%{version}-stderr.diff
|
||||
Patch1: %{name}-%{version}-ssize.diff
|
||||
Patch2: %{name}-%{version}-buffer.diff
|
||||
Patch: %{name}-%{version}-ssize.diff
|
||||
URL: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtool/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Summary: A tool for data logging and analysis
|
||||
@ -44,8 +42,6 @@ Authors:
|
||||
%prep
|
||||
%setup -q -a1
|
||||
%patch
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
%build
|
||||
# first prepare cgilib
|
||||
@ -137,7 +133,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/%{name}
|
||||
%{py_sitedir}/rrdtoolmodule.so
|
||||
|
||||
%changelog -n rrdtool
|
||||
%changelog
|
||||
* Fri May 04 2007 - anicka@suse.cz
|
||||
- update to 2.1.23
|
||||
* many bugfixes (mostly python)
|
||||
- remove stderr.diff and buffer.diff (fixed in upstream)
|
||||
* Mon Jan 29 2007 - anicka@suse.cz
|
||||
- update to 1.2.18
|
||||
* many bugfixes
|
||||
|
Loading…
x
Reference in New Issue
Block a user