mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merged revisions 70849,70852 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r70849 | jesse.noller | 2009-03-31 13:12:35 -0500 (Tue, 31 Mar 2009) | 1 line Apply patch for netbsd multiprocessing support ........ r70852 | jesse.noller | 2009-03-31 13:27:14 -0500 (Tue, 31 Mar 2009) | 1 line missed the news/acks for netbsd patch ........
This commit is contained in:
parent
ce9fbd3662
commit
32d68c2788
5 changed files with 18 additions and 2 deletions
|
@ -520,7 +520,11 @@ mmap_resize_method(mmap_object *self,
|
|||
#ifdef MREMAP_MAYMOVE
|
||||
newmap = mremap(self->data, self->size, new_size, MREMAP_MAYMOVE);
|
||||
#else
|
||||
newmap = mremap(self->data, self->size, new_size, 0);
|
||||
#if defined(__NetBSD__)
|
||||
newmap = mremap(self->data, self->size, self->data, new_size, 0);
|
||||
#else
|
||||
newmap = mremap(self->data, self->size, new_size, 0);
|
||||
#endif /* __NetBSD__ */
|
||||
#endif
|
||||
if (newmap == (void *)-1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue