Package: ruby-netcdf / 0.7.2-1

0005-length-spelling-error.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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
Description: Fix 'lengh' spelling error, replace with 'length'.
Author: Bas Couwenberg <sebastic@debian.org>

--- a/ext/numru/netcdfraw.c
+++ b/ext/numru/netcdfraw.c
@@ -4008,7 +4008,7 @@
 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
       } else if(len != c_count_all) {
 	rb_raise(rb_eNetcdfError, 
-		 "lengh of the array does not agree with that of the subset\n"); 
+		 "length of the array does not agree with that of the subset\n"); 
       } 
   } 
   
@@ -4114,7 +4114,7 @@
 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
       } else if(len != c_count_all) {
 	rb_raise(rb_eNetcdfError, 
-		 "lengh of the array does not agree with that of the subset\n"); 
+		 "length of the array does not agree with that of the subset\n"); 
       } 
   } 
   
@@ -4220,7 +4220,7 @@
 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
       } else if(len != c_count_all) {
 	  rb_raise(rb_eNetcdfError, 
-              "lengh of the array does not agree with that of the subset\n"); 
+              "length of the array does not agree with that of the subset\n"); 
       }
   }
 
@@ -4434,7 +4434,7 @@
 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
       } else if(len != c_count_all) {
 	  rb_raise(rb_eNetcdfError, 
-              "lengh of the array does not agree with that of the subset\n"); 
+              "length of the array does not agree with that of the subset\n"); 
       }
   }
 
@@ -4541,7 +4541,7 @@
 	  for(i=0;i<c_count_all;i++){ptr[i]=scalar;}
       } else if(len != c_count_all) {
 	  rb_raise(rb_eNetcdfError, 
-              "lengh of the array does not agree with that of the subset\n"); 
+              "length of the array does not agree with that of the subset\n"); 
       }
   }