Mail Archives: djgpp/1994/05/24/14:44:32
Hi,
Looking at what malloc was doing, It appeared to me that all the pointers
point to addresses at low memory that contain the actual pointers to the data.
Why this scheme? Is it safe when the allocated data contain pointers to more
data?
I suspect of something wrong. The memcopy function is corrupting data when
copying data pointed by pointers that are in allocated areas, but working
correctly with simple pointers. More tests are needed to verify what is
happening, but I don't have time to do them.
Antonio C. M. de Queiroz
- Raw text -