Package: ruby-netcdf / 0.7.2-1

0004-Fix-spelling-error-in-binary.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From: Youhei SASAKI <uwabami@gfd-dennou.org>
Date: Tue, 1 Mar 2016 17:59:27 +0900
Subject: Fix spelling error in binary

Signed-off-by: Youhei SASAKI <uwabami@gfd-dennou.org>
---
 ext/numru/netcdfraw.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/ext/numru/netcdfraw.c
+++ b/ext/numru/netcdfraw.c
@@ -635,7 +635,7 @@
 	}
     } else if (TYPE(atttype) != T_NIL) {
 	rb_raise(rb_eNetcdfError,
-		 "type specfication must be by a string or nil");
+		 "type specification must be by a string or nil");
     }
     /* put value */
     Check_Type(value,T_STRING);
@@ -807,7 +807,7 @@
       xtype = natypecode2nctype(NUM2INT(vartype));     
   } else {
       rb_raise(rb_eNetcdfError,
-	       "type specfication must be by a string or nil");
+	       "type specification must be by a string or nil");
   }
 
   for(i=0;i<c_ndims;i++){