ExternalLibraryFunction.st
branchjv
changeset 21026 81e280fc1b93
parent 21024 8734987eb5c7
parent 20996 3cb1110e6967
child 21088 6f4535127ce6
--- a/ExternalLibraryFunction.st	Fri Nov 18 20:48:57 2016 +0000
+++ b/ExternalLibraryFunction.st	Tue Nov 22 14:52:52 2016 +0000
@@ -976,7 +976,7 @@
      This is useful, if some code has a hardcoded dll-name in it, which needs to be changed,
      but you do not want or cannot recompile the methods (i.e. no source avail)"
 
-    |handle nameString filename dllPathes|
+    |handle nameString filename dllPaths|
 
     (ObjectFileLoader notNil and:[ObjectFileLoader canLoadObjectFiles]) ifFalse:[
         self error:('ObjectFileLoader cannot load dll/module: "%1"' bindWith:nameString).
@@ -996,13 +996,13 @@
 
     filename isAbsolute ifFalse:[
         "First ask the class defining the ExternalFunction for the location of the dlls ..."
-        dllPathes := #().
+        dllPaths := #().
         owningClass notNil ifTrue:[
-            dllPathes := owningClass dllPath.
+            dllPaths := owningClass dllPath.
         ].
         ".. then ask the system"
-        dllPathes := dllPathes, self class dllPath.
-        dllPathes do:[:eachDirectory |
+        dllPaths := dllPaths, self class dllPath.
+        dllPaths do:[:eachDirectory |
             |libraryName|
 
             libraryName := eachDirectory asFilename construct:nameString.
@@ -1016,7 +1016,7 @@
         ^ self loadLibrary:(filename withSuffix:ObjectFileLoader sharedLibrarySuffix)
     ].
 
-    self 
+    self
         error:('Cannot find or load dll/module: "%1"' bindWith:nameString)
         mayProceed:true.
     ^ nil