#Realloc Problem
14-Mar-94 22:09:28
Sb: #90454-#Realloc Problem
Fm: [F] Grant Blaha [Adesk] 72540,1062
To: Danny Mercurio 76666,1030
<realloc on XVDATA leads to protection fault>
I am mystified. realloc() is just a front end to malloc(), free(),
and memmove(). Maybe you should write your own realloc?
Wanna try something for me? Set your linker maxdata to something
really large, say 5 megs, and see if the problem clears up. I
strongly suspect that neither Metaware or Watcom were meant to run
with a maxdata of 0, it works okay for a while, but maybe the realloc
rubs the memory allocators the wrong way.