mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
#11515: Merge with 3.2.
This commit is contained in:
commit
373089239b
50 changed files with 59 additions and 59 deletions
|
|
@ -49,7 +49,7 @@
|
|||
So, there are 4 data structures holding processed arguments:
|
||||
- the inargs tuple (in PyCFuncPtr_call)
|
||||
- the callargs tuple (in PyCFuncPtr_call)
|
||||
- the 'struct argguments' array
|
||||
- the 'struct arguments' array
|
||||
- the 'void *' array
|
||||
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -650,7 +650,7 @@ ffi_call(
|
|||
+---------------------------------------+ 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
|
||||
|
|
|
|||
|
|
@ -1111,7 +1111,7 @@ whichtable(char **pfmt)
|
|||
case '>':
|
||||
case '!': /* Network byte order is big-endian */
|
||||
return bigendian_table;
|
||||
case '=': { /* Host byte order -- different from native in aligment! */
|
||||
case '=': { /* Host byte order -- different from native in alignment! */
|
||||
int n = 1;
|
||||
char *p = (char *) &n;
|
||||
if (*p == 1)
|
||||
|
|
|
|||
|
|
@ -824,7 +824,7 @@ _ldict(localobject *self)
|
|||
self->args, self->kw) < 0) {
|
||||
/* we need to get rid of ldict from thread so
|
||||
we create a new one the next time we do an attr
|
||||
acces */
|
||||
access */
|
||||
PyDict_DelItem(tdict, self->key);
|
||||
return NULL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1569,7 +1569,7 @@ validate_expr_stmt(node *tree)
|
|||
|| strcmp(s, ">>=") == 0
|
||||
|| strcmp(s, "**=") == 0);
|
||||
if (!res)
|
||||
err_string("illegal augmmented assignment operator");
|
||||
err_string("illegal augmented assignment operator");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -1308,7 +1308,7 @@ win32_xstat_w(const wchar_t *path, struct win32_stat *result, BOOL traverse)
|
|||
win32_stat will first explicitly resolve the symlink target and then will
|
||||
call win32_lstat on that result.
|
||||
|
||||
The _w represent Unicode equivalents of the aformentioned ANSI functions. */
|
||||
The _w represent Unicode equivalents of the aforementioned ANSI functions. */
|
||||
|
||||
static int
|
||||
win32_lstat(const char* path, struct win32_stat *result)
|
||||
|
|
|
|||
|
|
@ -1172,7 +1172,7 @@ get_code_from_data(ZipImporter *self, int ispackage, int isbytecode,
|
|||
return code;
|
||||
}
|
||||
|
||||
/* Get the code object assoiciated with the module specified by
|
||||
/* Get the code object associated with the module specified by
|
||||
'fullname'. */
|
||||
static PyObject *
|
||||
get_module_code(ZipImporter *self, char *fullname,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue