From bb0a445a6b57091fe5b878b09668d25edcb1e7ee Mon Sep 17 00:00:00 2001 From: olegos2 <74909582+olegos2@users.noreply.github.com> Date: Sat, 28 Dec 2024 21:06:51 +0500 Subject: 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 --- src/wrapped/wrappedlibdl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/wrapped') 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; ilib_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; ilib_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" -- cgit 1.4.1