From: Sebastian Harl Date: Sun, 24 Feb 2008 18:26:22 +0000 (+0100) Subject: Added debian/patches/typo by David to fix some typos. X-Git-Tag: debian/1.2.27-1~1^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=74fe9bce868114789fc735182a6fe952909dd06f;p=pkg-rrdtool.git Added debian/patches/typo by David to fix some typos. * Closes: #432340. --- diff --git a/debian/changelog b/debian/changelog index 6174cd3..cda3348 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ rrdtool (1.2.27-1) unstable; urgency=low + [ Bernd Zeimetz ] * New upstream release. * debian/rules, debian/librrd2.install: - Install rrdtool's ttf and configure rrd to use it. @@ -11,7 +12,11 @@ rrdtool (1.2.27-1) unstable; urgency=low * debian/control: - Removing the ttf-dejavu dependency from librrd2. - -- Bernd Zeimetz Sun, 24 Feb 2008 16:25:05 +0100 + [ Sebastian Harl ] + * Adding debian/patches/typo by David Martínez Moreno to fix some typos + (Closes: #432340). + + -- Bernd Zeimetz Sun, 24 Feb 2008 18:44:41 +0100 rrdtool (1.2.26-1) unstable; urgency=low diff --git a/debian/patches/series b/debian/patches/series index 69cecaa..2591de2 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ setup.py-module-name no-rpath-for-ruby no-rpath-for-perl implicit-decl-fix +typos diff --git a/debian/patches/typos b/debian/patches/typos new file mode 100644 index 0000000..26749d7 --- /dev/null +++ b/debian/patches/typos @@ -0,0 +1,22 @@ +--- a/src/rrd_open.c ++++ b/src/rrd_open.c +@@ -125,7 +125,7 @@ + MYFREAD(rrd->stat_head, stat_head_t, 1) + /* lets see if the first read worked */ + if (ferror( *in_file ) || feof(*in_file)) { +- rrd_set_error("reading the cookie off %s faild",file_name); ++ rrd_set_error("reading the cookie off %s failed",file_name); + fclose(*in_file); + return(-1); + } +--- a/src/rrd_thread_safe.c ++++ b/src/rrd_thread_safe.c +@@ -52,7 +52,7 @@ + const char *rrd_strerror(int err) { + struct rrd_context *ctx = rrd_get_context(); + if (strerror_r(err, ctx->lib_errstr, ctx->errlen)) +- return "strerror_r faild. sorry!"; ++ return "strerror_r failed. Sorry!"; + else + return ctx->lib_errstr; + }