Description: spelling-error-in-binary usr/lib/ccscript3-1.1/locker.dso aquired acquired
Bug-Debian: http://lintian.debian.org/tags/spelling-error-in-binary.html

Index: libccscript3-1.1.7/modules/locker.cpp
===================================================================
--- libccscript3-1.1.7.orig/modules/locker.cpp	2007-08-11 21:39:54.000000000 +1000
+++ libccscript3-1.1.7/modules/locker.cpp	2012-06-23 15:31:41.000000000 +1000
@@ -67,14 +67,14 @@
 
 public:
 	void release(const char *id, void *v);
-	bool aquire(const char *id, void *v);
+	bool acquire(const char *id, void *v);
 
 	LockerBinder();
 	static LockerBinder locker;
 };
 
 static Script::Define runtime[] = {
-	{"aquire", false, (Script::Method)&LockerMethods::scrAquire,
+	{"acquire", false, (Script::Method)&LockerMethods::scrAquire,
 		(Script::Check)&LockerChecks::chkAquire},
 	{"release", false, (Script::Method)&LockerMethods::scrRelease,
 		(Script::Check)&LockerChecks::chkRelease},
@@ -95,7 +95,7 @@
 	return alloc(size);
 }
 
-bool LockerBinder::aquire(const char *id, void *v)
+bool LockerBinder::acquire(const char *id, void *v)
 {
 	bool rtn = false;
 	void *dp;
@@ -134,7 +134,7 @@
 void LockerBinder::detach(ScriptInterp *interp)
 {
 	Symbol *list[65];
-	unsigned count = interp->gathertype(list, 64, "aquired", symCONST);
+	unsigned count = interp->gathertype(list, 64, "acquired", symCONST);
 	unsigned idx = 0;
 	Symbol *sym;
 	char name[65];
@@ -173,7 +173,7 @@
 		return true;
 	}
 
-	snprintf(name, sizeof(name), "aquired.%s", tag);
+	snprintf(name, sizeof(name), "acquired.%s", tag);
 	sym = mapSymbol(name, 32);
 	if(sym->type == symINITIAL)
 		sym->type = symCONST;
@@ -192,7 +192,7 @@
 	}
 
 	snprintf(name, sizeof(name), "%s.%s", tag, id);
-	if(!LockerBinder::locker.aquire(name, this)) {
+	if(!LockerBinder::locker.acquire(name, this)) {
 		error("lock-used");
 		return false;
 	}
@@ -222,7 +222,7 @@
 		tag = var;
 	}
 
-	snprintf(name, sizeof(name), "aquired.%s", tag);
+	snprintf(name, sizeof(name), "acquired.%s", tag);
 	sym = mapSymbol(name, 0);
 	if(!sym || sym->type != symCONST || !sym->data[0]) {
 		error("no-lock");
@@ -250,17 +250,17 @@
 	const char *cp;
 
 	if(hasKeywords(line))
-		return "aquire has no keywords";
+		return "acquire has no keywords";
 
 	if(!getOption(line, &idx))
-		return "aquire needs id argument";
+		return "acquire needs id argument";
 
 	cp = getOption(line, &idx);
 	if(!cp)
 		return NULL;
 
 	if(getOption(line, &idx))
-		return "only one label for aquire";
+		return "only one label for acquire";
 
 	return NULL;
 }
Index: libccscript3-1.1.7/src/script3.h
===================================================================
--- libccscript3-1.1.7.orig/src/script3.h	2007-08-11 21:39:53.000000000 +1000
+++ libccscript3-1.1.7/src/script3.h	2012-06-23 15:30:52.000000000 +1000
@@ -1517,7 +1517,7 @@
 	void attach(ScriptCommand *cmd, ScriptImage *img, Name *scr);
 
 	/**
-	 * Release any aquired lock...
+	 * Release any acquired lock...
 	 */
 	void release(void);
 
