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/libtools/threads32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libtools/threads32.c') diff --git a/src/libtools/threads32.c b/src/libtools/threads32.c index ae406440..be7cf2f7 100755 --- a/src/libtools/threads32.c +++ b/src/libtools/threads32.c @@ -36,8 +36,8 @@ typedef void (*vFppp_t)(void*, void*, void*); typedef void (*vFpi_t)(void*, int); typedef int (*iFLi_t)(unsigned long, int); -//starting with glibc 2.34+, those 2 functions are in libc.so as versionned symbol only -// So use dlsym to get the symbol unversionned, as simple link will not work. +//starting with glibc 2.34+, those 2 functions are in libc.so as versioned symbol only +// So use dlsym to get the symbol unversioned, as simple link will not work. static vFppp_t real_pthread_cleanup_push_defer = NULL; static vFpi_t real_pthread_cleanup_pop_restore = NULL; // with glibc 2.34+, pthread_kill changed behaviour and might break some program, so using old version if possible @@ -447,7 +447,7 @@ EXPORT int my32___pthread_key_create(x64emu_t* emu, void* key, void* dtor) __att // phtread_cond_init with null attr seems to only write 1 (NULL) dword on x64, while it's 48 bytes on ARM. // Not sure why as sizeof(pthread_cond_init) is 48 on both platform... But Neverwinter Night init seems to rely on that // What about cond that are statically initialized? -// Note, this is is a versionned function (the pthread_cond_*), and this seems to correspond to an old behaviour +// Note, this is is a versioned function (the pthread_cond_*), and this seems to correspond to an old behaviour KHASH_MAP_INIT_INT(mapcond, pthread_cond_t*); -- cgit 1.4.1