Bläddra i källkod

HPCC-13523 Fix spelling mistakes highlighted by lintian

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Gavin Halliday 10 år sedan
förälder
incheckning
0bc546a0f3

+ 1 - 1
common/thorhelper/thorstep.cpp

@@ -2691,7 +2691,7 @@ bool CProximityRangeJoinGenerator::gatherNextCandidates(unsigned iLowest)
             else
                 maxLowestBeforeCur = maxLeftBeforeRight * (iInput - iLowest);
 
-            assertex(maxLowestBeforeCur >= 0);          // should have created an anchored varient if not true
+            assertex(maxLowestBeforeCur >= 0);          // should have created an anchored variant if not true
 
             // maxLowestBeforeCur = maxCurAfterLowest
             unsigned __int64 maxDistance = lowestDistance + maxLowestBeforeCur;     

+ 3 - 3
dali/base/dasds.cpp

@@ -1003,7 +1003,7 @@ void writeDelta(StringBuffer &xml, IFile &iFile, const char *msg="", unsigned re
             return;
         if (0 == --_retryAttempts)
         {
-            WARNLOG("writeDelta, too many retry attemps [%d]", retryAttempts);
+            WARNLOG("writeDelta, too many retry attempts [%d]", retryAttempts);
             return;
         }
         exception.clear();
@@ -1093,7 +1093,7 @@ class CBackupHandler : public CInterface, implements IThreaded
                 return;
             if (0 == --_retryAttempts)
             {
-                WARNLOG("writeExt, too many retry attemps [%d]", retryAttempts);
+                WARNLOG("writeExt, too many retry attempts [%d]", retryAttempts);
                 return;
             }
             exception.clear();
@@ -1126,7 +1126,7 @@ class CBackupHandler : public CInterface, implements IThreaded
                 return;
             if (0 == --_retryAttempts)
             {
-                WARNLOG("deleteExt, too many retry attemps [%d]", retryAttempts);
+                WARNLOG("deleteExt, too many retry attempts [%d]", retryAttempts);
                 return;
             }
             exception.clear();

+ 1 - 1
dali/dfu/dfurun.cpp

@@ -1561,7 +1561,7 @@ public:
             case DFUcmd_monitor: 
                 {
                     CriticalBlock block(monitorsect);
-                    // first check done when WU recieved
+                    // first check done when WU received
                     IDFUmonitor *monitor = wu->queryUpdateMonitor();
                     if (!monitor)
                         break;

+ 1 - 1
ecl/eclcmd/roxie/ecl-roxie.cpp

@@ -129,7 +129,7 @@ void roxieStatusReport(IPropertyTree *hashTree, unsigned reporting, unsigned not
 
     if (attached && detached)
     {
-        fputs("Mismatched DALI Attachement\n", stderr);
+        fputs("Mismatched DALI Attachment\n", stderr);
         fprintf(stderr, "  %d Node(s) attached to DALI\n", attached);
         fprintf(stderr, "  %d Node(s) detached from DALI\n", detached);
     }

+ 2 - 2
ecl/hqlcpp/hqlcpp.ipp

@@ -939,7 +939,7 @@ public:
     void useFunction(IHqlExpression * funcdef);
     void useLibrary(const char * libname);
     void finalizeResources();
-    void generateStatistics(const char * targetDir, const char * varient);
+    void generateStatistics(const char * targetDir, const char * variant);
 
             unsigned getHints()                             { return hints; }
     inline bool queryEvaluateCoLocalRowInvariantInExtract() const { return options.evaluateCoLocalRowInvariantInExtract; }
@@ -979,7 +979,7 @@ public:
     //or isIndependentMaybeShared is false, and the code that is inserted is never implicitly shared.
     bool getInvariantMemberContext(BuildCtx & ctx, BuildCtx * * declarectx, BuildCtx * * initctx, bool isIndependentMaybeShared, bool invariantEachStart);
 
-    IPropertyTree * gatherFieldUsage(const char * varient, const IPropertyTree * exclude);
+    IPropertyTree * gatherFieldUsage(const char * variant, const IPropertyTree * exclude);
     void writeFieldUsage(const char * targetDir, IPropertyTree * xml, const char * variant);
 
 public:

+ 4 - 4
ecl/hqlcpp/hqlhtcpp.cpp

@@ -6034,10 +6034,10 @@ static int compareTrackedSourceByName(CInterface * const * _left, CInterface * c
     return stricmp(leftName, rightName);
 }
 
-IPropertyTree * HqlCppTranslator::gatherFieldUsage(const char * varient, const IPropertyTree * exclude)
+IPropertyTree * HqlCppTranslator::gatherFieldUsage(const char * variant, const IPropertyTree * exclude)
 {
     Owned<IPropertyTree> sources = createPTree("usedsources");
-    sources->setProp("@varient", varient);
+    sources->setProp("@varient", variant);
     trackedSources.sort(compareTrackedSourceByName);
     ForEachItemIn(i, trackedSources)
     {
@@ -6102,11 +6102,11 @@ void HqlCppTranslator::writeFieldUsage(const char * targetDir, IPropertyTree * s
 }
 
 
-void HqlCppTranslator::generateStatistics(const char * targetDir, const char * varient)
+void HqlCppTranslator::generateStatistics(const char * targetDir, const char * variant)
 {
     if ((options.reportFieldUsage || options.reportFileUsage) && trackedSources.ordinality())
     {
-        Owned<IPropertyTree> sources = gatherFieldUsage(varient, NULL);
+        Owned<IPropertyTree> sources = gatherFieldUsage(variant, NULL);
         writeFieldUsage(targetDir, sources, NULL);
     }
 }

+ 1 - 1
ecl/hqlcpp/hqliproj.cpp

@@ -3163,7 +3163,7 @@ IHqlExpression * ImplicitProjectTransformer::process(IHqlExpression * expr)
         // same as roxie, but also maybe worth inserting projects to minimise the amount of data that is spilled.
         break;
     case ThorLCRCluster:
-        //worth inserting projects to reduce copying, spilling, but primarily data transfered between nodes.
+        //worth inserting projects to reduce copying, spilling, but primarily data transferred between nodes.
         if (options.insertProjectCostLevel || options.optimizeSpills)
             insertProjects();
         break;

+ 3 - 3
ecl/hqlcpp/hqlttcpp.cpp

@@ -6092,9 +6092,9 @@ IHqlExpression * WorkflowTransformer::transformInternalCall(IHqlExpression * tra
     IHqlExpression * funcDef = transformed->queryDefinition();
     Owned<IHqlExpression> newFuncDef = transform(funcDef);
 
-    HqlExprArray paramters;
-    unwindChildren(paramters, transformed);
-    OwnedHqlExpr rebound = createReboundFunction(newFuncDef, paramters);
+    HqlExprArray parameters;
+    unwindChildren(parameters, transformed);
+    OwnedHqlExpr rebound = createReboundFunction(newFuncDef, parameters);
     inheritDependencies(rebound);
     copyDependencies(queryBodyExtra(newFuncDef), queryBodyExtra(rebound));
     return rebound.getClear();

+ 2 - 2
esp/platform/espthread.hpp

@@ -39,8 +39,8 @@ protected:
 public:
     IMPLEMENT_IINTERFACE;
     
-   CEspProtocolThread(const char *name = "Unkown service type");
-   CEspProtocolThread(ISocket *sock, const char *name = "Unkown service type");
+   CEspProtocolThread(const char *name = "Unknown service type");
+   CEspProtocolThread(ISocket *sock, const char *name = "Unknown service type");
 
    virtual ~CEspProtocolThread();
    virtual void start();

+ 1 - 1
esp/test/httptest/httptest.hpp

@@ -52,7 +52,7 @@ public:
         fprintf(ofile, "Total data received:              %" I64F "d\n", totalresplen);
         __int64 totallen = totalreqlen + totalresplen;
         fprintf(ofile, "Total data transferred:           %" I64F "d\n", totallen);
-        fprintf(ofile, "Data transfered per second:       %5.1f\n", totallen/(msecs*0.001));
+        fprintf(ofile, "Data transferred per second:      %5.1f\n", totallen/(msecs*0.001));
         fprintf(ofile, "Slowest round trip(millisecond):  %d\n", slowest);
         fprintf(ofile, "Fastest round trip(millisecond):  %d\n", fastest);
     }

+ 1 - 1
esp/tools/soapplus/http.cpp

@@ -69,7 +69,7 @@ void HttpStat::printStat(FILE* ofile)
         __int64 totallen = totalreqlen + totalresplen;
         fprintf(ofile, "Total data transferred:           %Ld\n", totallen);
         if(duration > 0)
-            fprintf(ofile, "Data transfered per second:       %5.1f\n", totallen/(duration*0.001));
+            fprintf(ofile, "Data transferred per second:      %5.1f\n", totallen/(duration*0.001));
         if(numrequests > 0)
         {
             fprintf(ofile, "Slowest round trip(millisecond):  %d\n", slowest);

+ 1 - 1
roxie/ccd/ccdcontext.cpp

@@ -53,7 +53,7 @@ class CSlaveDebugContext : public CBaseDebugContext
     4. There is a problem when a slave hits a breakpoint in that the breakpoint cound have been deleted by the time it gets a chance to tell the Roxie server - can't
        happen in local case because of the critical block at the head of checkBreakpoint but the local copy of BPs out on slave CAN get out of date. Should we care?
        Should there be a "Sorry, your breakpoints are out of date, here's the new set" response?
-       Actually what we do is recheck the BP on the server, and ensure that breakpoint indexes are persistant. DONE
+       Actually what we do is recheck the BP on the server, and ensure that breakpoint indexes are persistent. DONE
     5. We need to serialize over our graph info if changed since last time.
     6. I think we need to change implementation of debugGraph to support children. Then we have a place to put a proxy for a remote one.
        - id's should probably be structured so we can use a hash table at each level

+ 1 - 1
roxie/ccd/ccdserver.cpp

@@ -2538,7 +2538,7 @@ public:
     }
 
     // Note that this caching mechanism (unlike the old keyed-join specific one) does not common up cases where multiple 
-    // identical queries are in-flight at the same time. But if we can make it persistant between queries that will 
+    // identical queries are in-flight at the same time. But if we can make it persistent between queries that will
     // more than make up for it
 };
 

+ 1 - 1
roxie/roxieclient/roxieclient.cpp

@@ -261,7 +261,7 @@ void RoxieThread::immediateOutput(size32_t len, const char* result)
     }
     else
     {
-        throw MakeStringException(-1, "Output stream not set. Pleaes set default outputstream, or use bxml as output format");
+        throw MakeStringException(-1, "Output stream not set. Please set default outputstream, or use bxml as output format");
     }
 }
 

+ 2 - 2
system/hrpc/hrpcmp.cpp

@@ -425,7 +425,7 @@ public:
     }
 
     
-    //Receive will fill HRPCbuffer with what is heard (recieved message)
+    //Receive will fill HRPCbuffer with what is heard (received message)
     void Receive(HRPCbuffer &c,int timeo)
     {
         mb.clear();
@@ -445,7 +445,7 @@ public:
         h->winrev();
     }
 
-    //block until there is a message recieved by this node
+    //block until there is a message received by this node
     bool Listen()
     {   
         return state->Listen();

+ 1 - 1
thorlcr/master/thgraphmanager.cpp

@@ -413,7 +413,7 @@ void CJobManager::run()
                             unsigned e = msTick() - t;
                             StringBuffer msg;
                             if (_item.get())
-                                msg.append("Jobqueue item retreived");
+                                msg.append("Jobqueue item retrieved");
                             else
                                 msg.append("Nothing found on jobq::dequeue");
                             if (e>=5000)

+ 1 - 1
tools/backupnode/backupnode.cpp

@@ -221,7 +221,7 @@ static void usage()
     printf("  -D - overwrite existing files if size/date mismatch\n");
     printf("  -E - set compression state of existing files\n");
     printf("  -F <file> - use option XML file\n");
-    printf("  -I <ext> - ignore files that have specified extention\n");
+    printf("  -I <ext> - ignore files that have specified extension\n");
     printf("  -M - ignore sub-second differences when comparing file dates\n");
     printf("  -N - Include files even if slave count does not match filename\n");
     printf("  -Q - quiet mode: only errors are reported\n");

+ 1 - 1
tools/esdlcmd/esdlcmd_core.cpp

@@ -268,7 +268,7 @@ public:
         puts("                        only used for inheritance, and collapses their elements into their child. That simplifies the\n" );
         puts("                        stylesheet. By default this option is on.");
         puts("  --no-arrayof : Supresses the use of the arrrayof element. arrayof optimizes the XML output to include 'ArrayOf...'\n" );
-        puts("                        structure definitions for those EsdlArray elements with no item_tag attribute. Works in conjuction\n" );
+        puts("                        structure definitions for those EsdlArray elements with no item_tag attribute. Works in conjunction\n" );
         puts("                        with an optimized stylesheet that doesn't generate these itself. This defaults to on.");
     }
 

+ 2 - 2
tools/testsocket/testsocket.cpp

@@ -600,7 +600,7 @@ void usage(int exitCode)
 {
     printf("testsocket ip<:port> [flags] [query | -f[f] file.sql | -]\n");
     printf("  -         take query from stdin\n");
-    printf("  -a        abort before input recieved\n");
+    printf("  -a        abort before input received\n");
     printf("  -a1       abort after first packet receieved\n");
     printf("  -c        test sending response to a socket\n");
     printf("  -cb       test sending response to a block mode socket\n");
@@ -614,7 +614,7 @@ void usage(int exitCode)
     printf("  -n        multiple results - keep going until socket closes\n");
     printf("  -o        set output filename\n");
     printf("  -or       set output filename for raw output\n");
-    printf("  -persist  use persistant connection\n");
+    printf("  -persist  use persistent connection\n");
     printf("  -pr <text>add a prefix to the query\n");
     printf("  -q        quiet - don't echo query\n");
     printf("  -qname xx Use xx as queryname in place of the xml root element name\n");