comparison src/gmalloc.c @ 406:b8cc9ab3f761 r21-2-33

Import from CVS: tag r21-2-33
author cvs
date Mon, 13 Aug 2007 11:17:09 +0200
parents 2f8bb876ab1d
children 697ef44129c6
comparison
equal deleted inserted replaced
405:0e08f63c74d2 406:b8cc9ab3f761
1034 { 1034 {
1035 __ptr_t result; 1035 __ptr_t result;
1036 int type; 1036 int type;
1037 __malloc_size_t block, blocks, oldlimit; 1037 __malloc_size_t block, blocks, oldlimit;
1038 1038
1039 if (PURE_DATA(ptr)) 1039 if (PURE_DATA (ptr))
1040 { 1040 {
1041 result = malloc (size); 1041 result = malloc (size);
1042 memcpy(result, ptr, size); 1042 memcpy(result, ptr, size);
1043 return result; 1043 return result;
1044 } 1044 }