about summary refs log tree commit diff stats
path: root/src/wrapped
diff options
context:
space:
mode:
authorolegos2 <74909582+olegos2@users.noreply.github.com>2024-12-28 21:06:51 +0500
committerGitHub <noreply@github.com>2024-12-28 17:06:51 +0100
commitbb0a445a6b57091fe5b878b09668d25edcb1e7ee (patch)
treea53672a36d16e92250ee6b004f4d542e0b92958b /src/wrapped
parent7157803c03560d9835b9eea72e4991a64458e44a (diff)
downloadbox64-bb0a445a6b57091fe5b878b09668d25edcb1e7ee.tar.gz
box64-bb0a445a6b57091fe5b878b09668d25edcb1e7ee.zip
Spelling/typo fixes in code and documentation updates (#2223)
* Fix typo DLOpenned->DLOpened

* Fix a typo in comments: versionned->versioned

* Fix a typo in comment: cleanning->cleaning

* Update COMPILE.md and USAGE.md

* A few more typos in comments
Diffstat (limited to 'src/wrapped')
-rw-r--r--src/wrapped/wrappedlibdl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wrapped/wrappedlibdl.c b/src/wrapped/wrappedlibdl.c
index d8b73b34..81ee1ff6 100644
--- a/src/wrapped/wrappedlibdl.c
+++ b/src/wrapped/wrappedlibdl.c
@@ -174,7 +174,7 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag)
             box_free(tmp);
             box_free(platform);
         }
-        // check if alread dlopenned...
+        // check if already dlopened...
         for (size_t i=MIN_NLIB; i<dl->lib_sz; ++i) {
             if(dl->dllibs[i].full && IsSameLib(dl->dllibs[i].lib, rfilename)) {
                 if(flag&0x4) {   // don't re-open in RTLD_NOLOAD mode
@@ -254,7 +254,7 @@ void* my_dlopen(x64emu_t* emu, void *filename, int flag)
         my_context->deferredInitSz = old_deferredInitSz;
         my_context->deferredInitCap = old_deferredInitCap;
     } else {
-        // check if already dlopenned...
+        // check if already dlopened...
         for (size_t i=MIN_NLIB; i<dl->lib_sz; ++i) {
             if(dl->dllibs[i].is_self) {
                 ++dl->dllibs[i].count;
@@ -667,7 +667,7 @@ EXPORT int my__dl_find_object(x64emu_t* emu, void* addr, my_dl_find_object_t* re
     return -1;
 }
 
-void closeAllDLOpenned()
+void closeAllDLOpened()
 {
     dlprivate_t *dl = my_context->dlprivate;
     actualy_closing = 1;
@@ -691,7 +691,7 @@ void closeAllDLOpenned()
     else
 
 #define CUSTOM_FINI \
-    closeAllDLOpenned();
+    closeAllDLOpened();
 
 // define all standard library functions
 #include "wrappedlib_init.h"