Package: unixodbc / 2.3.6-0.1

drvcfg-spelling.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
Description: Fix some spelling errors in drvcfg.c.
Author: Hugh McMaster <hugh.mcmaster@outlook.com>
Last-Update: 2018-05-09
Forwarded: yes
Origin: commit:0087b7ca16fa89826d239d7c4bcd11b0f73ee8b8

--- a/DRVConfig/txt/drvcfg.c
+++ b/DRVConfig/txt/drvcfg.c
@@ -19,7 +19,7 @@
 /**********************************************
  * STATIC LOOKUP VALUES
  **********************************************/
-static const char *aColumnSeperators[] =
+static const char *aColumnSeparators[] =
 {
 	"|",
     ",",
@@ -73,11 +73,11 @@ int ODBCINSTGetProperties( HODBCINSTPROP
 	hLastProperty->pNext 				= (HODBCINSTPROPERTY)calloc( 1, sizeof(ODBCINSTPROPERTY) );
 	hLastProperty 						= hLastProperty->pNext;
 	hLastProperty->nPromptType			= ODBCINST_PROMPTTYPE_COMBOBOX;
-	hLastProperty->aPromptData          = malloc( sizeof( aColumnSeperators ) );
-	memcpy( hLastProperty->aPromptData, aColumnSeperators, sizeof( aColumnSeperators ) ); 
-	strncpy( hLastProperty->szName, "ColumnSeperator", INI_MAX_PROPERTY_NAME );
+	hLastProperty->aPromptData          = malloc( sizeof( aColumnSeparators ) );
+	memcpy( hLastProperty->aPromptData, aColumnSeparators, sizeof( aColumnSeparators ) ); 
+	strncpy( hLastProperty->szName, "ColumnSeparator", INI_MAX_PROPERTY_NAME );
 	strncpy( hLastProperty->szValue, "|", INI_MAX_PROPERTY_VALUE );
-	hLastProperty->pszHelp				= strdup( "Column seperator character used in table files.\nCAN NOT EXIST IN COLUMN VALUES." );
+	hLastProperty->pszHelp				= strdup( "Column separator character used in table files.\nCANNOT EXIST IN COLUMN VALUES." );
 
 	return 1;
 }