Code

Added debian/patches/typo by David to fix some typos.
authorSebastian Harl <sh@tokkee.org>
Sun, 24 Feb 2008 18:26:22 +0000 (19:26 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 24 Feb 2008 18:26:22 +0000 (19:26 +0100)
 * Closes: #432340.

debian/changelog
debian/patches/series
debian/patches/typos [new file with mode: 0644]

index 6174cd35a1861024940931e31f4551443267abf2..cda3348191b8b8c41504b16f2bf4a52b9b493f6d 100644 (file)
@@ -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 <bzed@debian.org>  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 <bzed@debian.org>  Sun, 24 Feb 2008 18:44:41 +0100
 
 rrdtool (1.2.26-1) unstable; urgency=low
 
index 69cecaaf69d7d1e3dd0691a382f19e6017caaff2..2591de2c20cd3197c11a1ab34279c566b957d435 100644 (file)
@@ -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 (file)
index 0000000..26749d7
--- /dev/null
@@ -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; 
+ }