Update of /cvsroot/monetdb/pathfinder/compiler/include
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv4262/compiler/include

Modified Files:
        mem.h 
Log Message:
[ 1633232 ] PF: memory reallocation buggy
- fixed PFrealloc so it knows the old region size



Index: mem.h
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/include/mem.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- mem.h       13 Mar 2007 13:56:00 -0000      1.14
+++ mem.h       25 May 2007 10:27:38 -0000      1.15
@@ -72,9 +72,9 @@
  * @param mem pointer to already allocated heap memory
  * @return pointer to garbage collected memory of @a n bytes
  */
-#define PFrealloc(mem,n) PFrealloc_ ((mem), (n), __FILE__, __func__, __LINE__)
+#define PFrealloc(mem,o,n) PFrealloc_ ((mem), (o), (n), __FILE__, __func__, 
__LINE__)
 
-void *PFrealloc_ (void *, size_t, const char *, const char *, const int);
+void *PFrealloc_ (void *, size_t, size_t, const char *, const char *, const 
int);
 
 char *PFstrndup (const char *str, size_t n);
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to