Package: cricket
Version: 1.0.5-6
Severity: minor
Tags: patch
Hohum, just fixed the amd64 bug myself before noticing the new version
in unstable had already fixed it... Anyway, this patch to getFormat.c
is still perhaps slightly useful.
Tim.
--- cricket/util/getFormat.c.orig 2007-06-12 10:57:28.000000000 +0100
+++ cricket/util/getFormat.c 2007-06-12 10:58:53.000000000 +0100
@@ -102,7 +102,7 @@
pad = sizeof(h1) - total;
sprintf(rrdFormat, "%s x%d", rrdFormat, pad);
- printf("$self->{'statHead'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'statHead'} = \"%s\";\n", rrdFormat);
}
void format_ds_def (void) {
@@ -153,7 +153,7 @@
sprintf(rrdFormat, "%s x%d", rrdFormat, pad);
}
- printf("$self->{'dsDef'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'dsDef'} = \"%s\";\n", rrdFormat);
}
void format_rra_def (void) {
@@ -209,7 +209,7 @@
sprintf(rrdFormat, "%s x%d", rrdFormat, pad);
}
- printf("$self->{'rraDef'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'rraDef'} = \"%s\";\n", rrdFormat);
}
void format_live_head (void) {
@@ -218,7 +218,7 @@
memset(rrdFormat, 0, sizeof(rrdFormat));
sprintf(rrdFormat, "%c", (sizeof(time_t)==8)?'Q':'L');
- printf("$self->{'liveHead'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'liveHead'} = \"%s\";\n", rrdFormat);
}
void format_pdp_prep (void) {
@@ -259,7 +259,7 @@
sprintf(rrdFormat, "%s x%d", rrdFormat, pad);
}
- printf("$self->{'pdpDef'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'pdpDef'} = \"%s\";\n", rrdFormat);
}
void format_cdp_prep (void) {
@@ -286,7 +286,7 @@
sprintf(rrdFormat, "%s x%d", rrdFormat, pad);
}
- printf("$self->{'cdpDef'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'cdpDef'} = \"%s\";\n", rrdFormat);
}
void format_rra_ptr (void) {
@@ -296,7 +296,7 @@
sprintf(rrdFormat, "%c", (sizeof(&rrdFormat)==8)?'Q':'L');
- printf("$self->{'rraPtr'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'rraPtr'} = \"%s\";\n", rrdFormat);
}
void format_element (void) {
@@ -304,7 +304,7 @@
sprintf(rrdFormat, "d"); /* Assuming all data elements are just doubles *
This is pretty safe */
- printf("$self->{'element'} = \"%s\"\n", rrdFormat);
+ printf("$self->{'element'} = \"%s\";\n", rrdFormat);
}
int main (void) {
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.21-rc4
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Versions of packages cricket depends on:
ii adduser 3.102 Add and remove users and groups
ii cron 3.0pl1-100 management of regular background p
ii librrds-perl 1.2.15-0.3 Time-series data storage and displ
ii libsnmp-session-perl 1.08-1 Perl support for accessing SNMP-aw
ii libtimedate-perl 1.1600-5 Time and date functions for Perl
ii perl [libdigest-md5-perl] 5.8.8-7 Larry Wall's Practical Extraction
ii perl-suid 5.8.8-7 Runs setuid Perl scripts
Versions of packages cricket recommends:
ii apache2 2.2.3-4 Next generation, scalable, extenda
ii apache2-mpm-prefork [httpd] 2.2.3-4 Traditional model for Apache HTTPD
ii logrotate 3.7.1-3 Log rotation utility
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]