CVS: winex/libs/ptmalloc3 malloc.c,1.3,1.4

[email protected]
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/libs/ptmalloc3 malloc.c,1.3,1.4Update of /var/lib/cvsd/cvsroot/winex/libs/ptmalloc3
In directory agravaine:/tmp/cvs-serv13865/libs/ptmalloc3

Modified Files:
	malloc.c 
Log Message:

- get mspace_memalign of large segments working


Index: malloc.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/libs/ptmalloc3/malloc.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- malloc.c	30 Mar 2007 19:02:29 -0000	1.3
+++ malloc.c	30 Mar 2007 20:11:48 -0000	1.4
@@ -4370,7 +4370,7 @@
         size_t newsize = chunksize(p) - leadsize;
 
         if (is_mmapped(p)) { /* For mmapped chunks, just adjust offset */
-          newp->prev_foot = p->prev_foot + leadsize;
+          newp->prev_foot = p->prev_foot;
           newp->head = (newsize|CINUSE_BIT);
         }
         else { /* Otherwise, give back leader, use the rest */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.