diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 18:55:01 +0200 |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2011-03-15 18:55:01 +0200 |
commit | 24b07bcba350bb86c4d6ca446e1564647a199868 (patch) | |
tree | 1815b1c49a6aec401da86b33fa81d06a0c735679 /Modules/_ctypes/libffi | |
parent | 1aa999c49ed82c89257c13cba5e210c3ba34c130 (diff) | |
download | cpython-git-24b07bcba350bb86c4d6ca446e1564647a199868.tar.gz |
#11515: fix several typos. Patch by Piotr Kasprzyk.
Diffstat (limited to 'Modules/_ctypes/libffi')
-rw-r--r-- | Modules/_ctypes/libffi/ChangeLog | 4 | ||||
-rw-r--r-- | Modules/_ctypes/libffi/src/dlmalloc.c | 4 | ||||
-rw-r--r-- | Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/Modules/_ctypes/libffi/ChangeLog b/Modules/_ctypes/libffi/ChangeLog index 00ba7efc1d..78853c42f5 100644 --- a/Modules/_ctypes/libffi/ChangeLog +++ b/Modules/_ctypes/libffi/ChangeLog @@ -3084,7 +3084,7 @@ 2003-09-18 Kaz Kojima <kkojima@gcc.gnu.org> - * src/sh/ffi.c (ffi_prep_args): Take account into the alignement + * src/sh/ffi.c (ffi_prep_args): Take account into the alignment for the register size. (ffi_closure_helper_SYSV): Handle the structure return value address correctly. @@ -3344,7 +3344,7 @@ 2003-02-06 Andreas Tobler <a.tobler@schweiz.ch> * libffi/src/powerpc/darwin_closure.S: - Fix alignement bug, allocate 8 bytes for the result. + Fix alignment bug, allocate 8 bytes for the result. * libffi/src/powerpc/aix_closure.S: Likewise. * libffi/src/powerpc/ffi_darwin.c: diff --git a/Modules/_ctypes/libffi/src/dlmalloc.c b/Modules/_ctypes/libffi/src/dlmalloc.c index 783c5c2a6f..72673a1bc7 100644 --- a/Modules/_ctypes/libffi/src/dlmalloc.c +++ b/Modules/_ctypes/libffi/src/dlmalloc.c @@ -1326,7 +1326,7 @@ static void* win32direct_mmap(size_t size) { return (ptr != 0)? ptr: MFAIL; } -/* This function supports releasing coalesed segments */ +/* This function supports releasing coalesced segments */ static int win32munmap(void* ptr, size_t size) { MEMORY_BASIC_INFORMATION minfo; char* cptr = ptr; @@ -1362,7 +1362,7 @@ static int win32munmap(void* ptr, size_t size) { #define CALL_MORECORE(S) MFAIL #endif /* HAVE_MORECORE */ -/* mstate bit set if continguous morecore disabled or failed */ +/* mstate bit set if contiguous morecore disabled or failed */ #define USE_NONCONTIGUOUS_BIT (4U) /* segment bit set in create_mspace_with_base */ diff --git a/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c b/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c index d84f1c393a..5e7772068a 100644 --- a/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c +++ b/Modules/_ctypes/libffi/src/powerpc/ffi_darwin.c @@ -592,7 +592,7 @@ typedef struct aix_fd_struct { +---------------------------------------+ 160 | result area 8 | +---------------------------------------+ 168 - | alignement to the next multiple of 16 | + | alignment to the next multiple of 16 | SP current --> +---------------------------------------+ 176 <- parent frame | back chain to caller 4 | +---------------------------------------+ 180 |