Description: Spelling errors in binaries fix
 This patch fixes various spelling-error-in-binary Lintian warnings.
Author: Graham Inggs <ginggs@debian.org>
Forwarded: no
Last-Update: 2017-08-08
--- a/src/exec/dxmods/import_ss.c
+++ b/src/exec/dxmods/import_ss.c
@@ -498,7 +498,7 @@
     test[nc]->array = NULL;
     test[nc]->type = _dxf_isnumber(p,&d,&f);
     if (test[nc]->type == TYPE_HYPER){
-	DXSetError(ERROR_INTERNAL,"error matching regular expresion");
+	DXSetError(ERROR_INTERNAL,"error matching regular expression");
 	goto error;
     }
     if (p[0] == delimiter[0]) 		/* missing data */
--- a/src/exec/dxmods/import_ncdf.c
+++ b/src/exec/dxmods/import_ncdf.c
@@ -1098,7 +1098,7 @@
     switch(vp->class) {
       case CLASS_GROUP:
 	if(!vp->child)
-	    DXErrorReturn(ERROR_INTERNAL, "inconsistant data structs");
+	    DXErrorReturn(ERROR_INTERNAL, "inconsistent data structs");
 	    
 	for(nvp = vp->child; nvp; nvp = nvp->next) {
 	
@@ -1173,7 +1173,7 @@
 	    
       case CLASS_COMPOSITEFIELD:
 	if(!vp->child)
-	    DXErrorReturn(ERROR_INTERNAL, "inconsistant data structs");
+	    DXErrorReturn(ERROR_INTERNAL, "inconsistent data structs");
 	
 	for(nvp = vp->child; nvp; nvp = nvp->next) {
 	
@@ -1276,7 +1276,7 @@
     switch(vp->class) {
       case CLASS_GROUP:
 	if(!vp->child)
-	    DXErrorReturn(ERROR_INTERNAL, "inconsistant data structs");
+	    DXErrorReturn(ERROR_INTERNAL, "inconsistent data structs");
 
 	for(nvp = vp->child; nvp; nvp = nvp->next) {
 	
@@ -1324,7 +1324,7 @@
 
       case CLASS_COMPOSITEFIELD:
 	if(!vp->child)
-	    DXErrorReturn(ERROR_INTERNAL, "inconsistant data structs");
+	    DXErrorReturn(ERROR_INTERNAL, "inconsistent data structs");
 
 	for(nvp = vp->child; nvp; nvp = nvp->next) {
 	    
--- a/src/exec/dxmods/inquire.c
+++ b/src/exec/dxmods/inquire.c
@@ -2480,7 +2480,7 @@
 	else if (fp->qobj1i)
 	    out[0] = (Object)(fp->qobj1i)(in[0], in[2]);
 	else
-	    DXSetError(ERROR_INTERNAL, "inconsistant inquiry table");
+	    DXSetError(ERROR_INTERNAL, "inconsistent inquiry table");
 	
 	/* if a yes/no routine returned a value but someone set an
          *  error along the way, delete the return value and really
--- a/src/exec/dxmods/_color.c
+++ b/src/exec/dxmods/_color.c
@@ -175,7 +175,7 @@
 	subcolor = DXGetEnumeratedMember((Group)color, i, NULL);
         if (!subcolor) {
 	  DXSetError(ERROR_BAD_PARAMETER,
-		   "color map does not match object hierachy");
+		   "color map does not match object hierarchy");
 	  return ERROR;
         }
       }
@@ -186,7 +186,7 @@
 	subopacity = DXGetEnumeratedMember((Group)opacity, i, NULL);
         if (!subopacity) {
 	  DXSetError(ERROR_BAD_PARAMETER,
-		   "opacity map does not match object hierachy");
+		   "opacity map does not match object hierarchy");
 	  return ERROR;
         }
       }
--- a/src/exec/dxmods/genimp_parse.c
+++ b/src/exec/dxmods/genimp_parse.c
@@ -1039,7 +1039,7 @@
   }
 
   if (!get_header(ps,p,&_dxd_gi_header)){
-     DXAddMessage("reading header statment");
+     DXAddMessage("reading header statement");
      return ERROR;
   }
 
@@ -2062,7 +2062,7 @@
    }
 
    if (!get_header(ps,*p,&fromfile->begin)){
-      DXAddMessage("reading %s statment",statement);
+      DXAddMessage("reading %s statement",statement);
       goto error;
    }
    while (FileTok(ps," ,\t\n",NO_NEWLINE,p) && (*p) && isdigit(**p)){
@@ -2123,7 +2123,7 @@
       DXWarning("header info not before data, cannot pipe");
       if (_dxd_gi_filename[0]=='!'){
          DXSetError(ERROR_DATA_INVALID,
-         "can't use filter if header info is after begining of data");
+         "can't use filter if header info is after beginning of data");
           goto error;
       }
       rewind(dataps->fp);
@@ -2136,7 +2136,7 @@
 	    DXWarning("header info not before data, cannot pipe");
 	    if (_dxd_gi_filename[0]=='!'){
 	       DXSetError(ERROR_DATA_INVALID,
-	       "can't use filter if header info is after begining of data");
+	       "can't use filter if header info is after beginning of data");
 	       goto error;
 	    }
 	    rewind(dataps->fp);
@@ -2149,7 +2149,7 @@
 	    DXWarning("header info not before data, cannot pipe");
 	    if (_dxd_gi_filename[0]=='!'){
 	       DXSetError(ERROR_DATA_INVALID,
-	       "can't use filter if header info is after begining of data");
+	       "can't use filter if header info is after beginning of data");
 	       goto error;
 	    }
 	    rewind(dataps->fp);
--- a/src/exec/dpexec/graph.c
+++ b/src/exec/dpexec/graph.c
@@ -2232,7 +2232,7 @@
             int rerun_attr;
 	    if(_dxf_ExHasIntegerAttribute(inAttrs[i], ATTR_RERUNKEY, &rerun_attr)) {
                 if(found) 
-                    DXWarning("Multiple rerun keys found for module %s, using first occurence of rerun key");
+                    DXWarning("Multiple rerun keys found for module %s, using first occurrence of rerun key");
                 else {
                     fnode.flags |= MODULE_ASYNCNAMED; 
                     fnode.rerun_index = i;
@@ -2390,7 +2390,7 @@
 
     ExDebug("*1","In ExBuildSendModule:");
     ExDebug("*1",
-	 "Sending ouput %d from module %s in procgroup %s at var index %d to:",
+	 "Sending output %d from module %s in procgroup %s at var index %d to:",
           out_tab, _dxf_ExGFuncPathToString(sgf), sgf->procgroupid, *outdex); 
 
     ExDebug("*1", "input %d of module %s in procgroup %s ",
--- a/src/uipp/base/help.c
+++ b/src/uipp/base/help.c
@@ -645,7 +645,7 @@
      for (i = 0; i < len ; i++)
        DeleteLastNode(userdata->historylist);
   }
-  printf("lenght history = %d \n",userdata->historylist->length);
+  printf("length history = %d \n",userdata->historylist->length);
 
   FreeSpotList(userdata->spotlist);
   FreeStack(userdata->fontstack);
--- a/src/uipp/dxui/ReceiverNode.C
+++ b/src/uipp/dxui/ReceiverNode.C
@@ -348,7 +348,7 @@
     //
     // You can always use the name Receiver.
     //
-    if (EqualString (my_label, "Reciever")) return FALSE;
+    if (EqualString (my_label, "Receiver")) return FALSE;
 
     return this->UniqueNameNode::namesConflict (his_label, my_label, his_classname);
 }
--- a/src/uipp/dxuilib/PostScriptImageFormat.C
+++ b/src/uipp/dxuilib/PostScriptImageFormat.C
@@ -676,14 +676,14 @@
 	if (theDXApplication->appAllowsEditorAccess() == FALSE)
 	    cp = 
 		"The value for the \'recordFormat\' input parameter of your\n"
-		"image tool is specified by an incomming connection, and is\n"
+		"image tool is specified by an incoming connection, and is\n"
 		"missing a dpi or orientation value.  Check your interactor\n"
 		"settings.  This warning will not appear again.";
 	else
 	    cp = 
 		"The value for the \'recordFormat\' input parameter of your image\n"
-		"tool is specified by an incomming connection, and is missing a\n"
-		"dpi or orientation value.   Disconnect the paramter or modify\n"
+		"tool is specified by an incoming connection, and is missing a\n"
+		"dpi or orientation value.   Disconnect the parameter or modify\n"
 		"your interactor values in order to obtain dependable results\n"
 		"from the SaveImage dialog. This warning will not appear again.";
 	WarningMessage (cp);
--- a/src/exec/dpexec/dxmain.c
+++ b/src/exec/dpexec/dxmain.c
@@ -1035,7 +1035,7 @@
     fprintf (stdout, "  -E    set error print level        (default = %d)\n",
              _dxd_exErrorPrintLevel);
     fprintf (stdout, "  -F    load a module definition file\n");
-    fprintf (stdout, "  -i    set read delay threshhold    (default = %g)\n",
+    fprintf (stdout, "  -i    set read delay threshold    (default = %g)\n",
              read_i_threshhold);
     fprintf (stdout, "  -l    toggle logging to dx.log     (default = %s)\n",
              logcache ? "on" : "off");
--- a/src/exec/dxmods/_rubbersheet.c
+++ b/src/exec/dxmods/_rubbersheet.c
@@ -301,7 +301,7 @@
     if (! attr || DXGetObjectClass(attr) != CLASS_STRING)
     {
 	DXSetError(ERROR_DATA_INVALID, 
-	    "invalid or nonexistant data dependency attribute");
+	    "invalid or nonexistent data dependency attribute");
 	return ERROR;
     }
 
@@ -328,7 +328,7 @@
 	if (! attr || DXGetObjectClass(attr) != CLASS_STRING)
 	{
 	    DXSetError(ERROR_DATA_INVALID, 
-		"invalid or nonexistant normals dependency attribute");
+		"invalid or nonexistent normals dependency attribute");
 	    return ERROR;
 	}
 
--- a/src/exec/libdx/lock.c
+++ b/src/exec/libdx/lock.c
@@ -866,7 +866,7 @@
     if (_lock->wait > 0)
     {
 	DXSetError(ERROR_INTERNAL, 
-		"why is there a wait associated with a lock thats being destroyed?");
+		"why is there a wait associated with a lock that's being destroyed?");
 	return ERROR;
     }
 
--- a/src/exec/dxmods/equalize.c
+++ b/src/exec/dxmods/equalize.c
@@ -153,7 +153,7 @@
 	{
 	    if (! DXStatistics (Min, "data", &eq->minv, &eq->maxv, NULL, NULL))
 	    {
-		DXSetError (ERROR_BAD_PARAMETER, "#10080", "bin mininum");
+		DXSetError (ERROR_BAD_PARAMETER, "#10080", "bin minimum");
 		goto cleanup;
 	    }
 	    if (! Max)
--- a/src/exec/dxmods/histogram.c
+++ b/src/exec/dxmods/histogram.c
@@ -283,7 +283,7 @@
 	    
 	    h.minset = BYOBJECT;
 	} else {
-	    DXSetError(ERROR_BAD_PARAMETER, "#10562", "bin mininum");
+	    DXSetError(ERROR_BAD_PARAMETER, "#10562", "bin minimum");
 	    goto error;
 	}
     } 
--- a/src/exec/dxmods/_compoper.c
+++ b/src/exec/dxmods/_compoper.c
@@ -1437,7 +1437,7 @@
     InvalidComponentHandle definedInvalid;
 
     if (GetSymbol(pt->u.s, &p, &definedInvalid) == ERROR) {
-	DXSetError(ERROR_INTERNAL, "Refering to an unadded symbol `%s'", pt->u.s);
+	DXSetError(ERROR_INTERNAL, "Referring to an unadded symbol `%s'", pt->u.s);
 	return ERROR;
     }
 
--- a/src/exec/dxmods/exp_gai.c
+++ b/src/exec/dxmods/exp_gai.c
@@ -886,7 +886,7 @@
       pstring(h->dfp,0,0,0,name);
       fprintf(h->dfp,", ");
    }
-   fprintf(h->dfp,"tranformed object,");
+   fprintf(h->dfp,"transformed object,");
    DXGetXformInfo(o,&subo,NULL);
    if (!object_header((Object)subo,h))
       return ERROR;
--- a/src/uipp/mb/MBGenerate.C
+++ b/src/uipp/mb/MBGenerate.C
@@ -803,7 +803,7 @@
 fprintf(fd, "         /*%s", NEWLINE);
 fprintf(fd, "          * For all inputs that are Values, pass them to %s", NEWLINE);
 fprintf(fd, "          * child object list.  For all that are Field/Group, get %s", NEWLINE);
-fprintf(fd, "          * the appropriate decendent and place it into the%s", NEWLINE);
+fprintf(fd, "          * the appropriate descendent and place it into the%s", NEWLINE);
 fprintf(fd, "          * child input object list.%s", NEWLINE);
 fprintf(fd, "          */%s%s", NEWLINE, NEWLINE);
 for (i = 0; i < nin; i++)
@@ -825,7 +825,7 @@
 fprintf(fd, "         /*%s", NEWLINE);
 fprintf(fd, "          * For all outputs that are Values, pass them to %s", NEWLINE);
 fprintf(fd, "          * child object list.  For all that are Field/Group,  get%s", NEWLINE);
-fprintf(fd, "          * the appropriate decendent and place it into the%s", NEWLINE);
+fprintf(fd, "          * the appropriate descendent and place it into the%s", NEWLINE);
 fprintf(fd, "          * child output object list.  Note that none should%s", NEWLINE);
 fprintf(fd, "          * be NULL (unlike inputs, which can default).%s", NEWLINE);
 fprintf(fd, "          */%s%s", NEWLINE, NEWLINE);
@@ -891,10 +891,10 @@
 fprintf(fd, "%s", NEWLINE);
 
 fprintf(fd, "      /*%s", NEWLINE);
-fprintf(fd, "       * Create new in and out lists for the decendent of the%s", NEWLINE);
+fprintf(fd, "       * Create new in and out lists for the descendent of the%s", NEWLINE);
 fprintf(fd, "       * first input.  For inputs and outputs that are Values%s", NEWLINE);
 fprintf(fd, "       * copy them into the new in and out lists.  Otherwise%s", NEWLINE);
-fprintf(fd, "       * get the corresponding decendents.%s", NEWLINE);
+fprintf(fd, "       * get the corresponding descendents.%s", NEWLINE);
 fprintf(fd, "       */%s%s", NEWLINE, NEWLINE);
 for (i = 0; i < nin; i++)
     if (in[i]->structure == VALUE)
@@ -914,7 +914,7 @@
 fprintf(fd, "      /*%s", NEWLINE);
 fprintf(fd, "       * For all outputs that are Values, copy them to %s", NEWLINE);
 fprintf(fd, "       * child object list.  For all that are Field/Group,  get%s", NEWLINE);
-fprintf(fd, "       * the appropriate decendent and place it into the%s", NEWLINE);
+fprintf(fd, "       * the appropriate descendent and place it into the%s", NEWLINE);
 fprintf(fd, "       * child output object list.  Note that none should%s", NEWLINE);
 fprintf(fd, "       * be NULL (unlike inputs, which can default).%s", NEWLINE);
 fprintf(fd, "       */%s%s", NEWLINE, NEWLINE);
@@ -977,10 +977,10 @@
 fprintf(fd, "%s", NEWLINE);
 
 fprintf(fd, "      /*%s", NEWLINE);
-fprintf(fd, "       * Create new in and out lists for the decendent of the%s", NEWLINE);
+fprintf(fd, "       * Create new in and out lists for the descendent of the%s", NEWLINE);
 fprintf(fd, "       * first input.  For inputs and outputs that are Values%s", NEWLINE);
 fprintf(fd, "       * copy them into the new in and out lists.  Otherwise%s", NEWLINE);
-fprintf(fd, "       * get the corresponding decendents.%s", NEWLINE);
+fprintf(fd, "       * get the corresponding descendents.%s", NEWLINE);
 fprintf(fd, "       */%s%s", NEWLINE, NEWLINE);
 for (i = 0; i < nin; i++)
     if (in[i]->structure == VALUE)
@@ -1000,7 +1000,7 @@
 fprintf(fd, "      /*%s", NEWLINE);
 fprintf(fd, "       * For all outputs that are Values, copy them to %s", NEWLINE);
 fprintf(fd, "       * child object list.  For all that are Field/Group,  get%s", NEWLINE);
-fprintf(fd, "       * the appropriate decendent and place it into the%s", NEWLINE);
+fprintf(fd, "       * the appropriate descendent and place it into the%s", NEWLINE);
 fprintf(fd, "       * child output object list.  Note that none should%s", NEWLINE);
 fprintf(fd, "       * be NULL (unlike inputs, which can default).%s", NEWLINE);
 fprintf(fd, "       */%s%s", NEWLINE, NEWLINE);
@@ -1080,7 +1080,7 @@
 fprintf(fd, "      /*%s", NEWLINE);
 fprintf(fd, "       * For all outputs that are Values, copy them to %s", NEWLINE);
 fprintf(fd, "       * child object list.  For all that are Field/Group,  get%s", NEWLINE);
-fprintf(fd, "       * the appropriate decendent and place it into the%s", NEWLINE);
+fprintf(fd, "       * the appropriate descendent and place it into the%s", NEWLINE);
 fprintf(fd, "       * child output object list.  Note that none should%s", NEWLINE);
 fprintf(fd, "       * be NULL (unlike inputs, which can default).%s", NEWLINE);
 fprintf(fd, "       */%s%s", NEWLINE, NEWLINE);
--- a/src/uipp/dxuilib/DXLinkHandler.C
+++ b/src/uipp/dxuilib/DXLinkHandler.C
@@ -599,7 +599,7 @@
     {
 	DXLinkHandler *a = (DXLinkHandler*)va;
 	char buffer[1024];
-	sprintf(buffer, "Error openning configuration file %s", c);
+	sprintf(buffer, "Error opening configuration file %s", c);
 	a->sendPacket(DXPacketIF::PKTERROR, id, buffer);
 	r = FALSE;
     }
