[comp.sys.atari.st] Sozobon C and malloc

burnett@mentor.cc.purdue.edu (Andy Burnett) (04/29/91)

  I am having trouble with the new version of Sozobon C compiler ...
I have a compact disc database that worked fine with the old version,
but with the new version, when I malloc space for a new cd record,
it doesn't work.  THe statement I use is:

	tmp = (struct cd_rec *) malloc (sizeof(struct cd_rec));

   Whenever I try to copy a string into the structure (tmp), I get 2
bombs.  This porgram worked fine with the old version and I changed
*nothing* when I tried to recompile with the new version.  Any one
have any ideas?



-- 
&y Burnett   |  burnett@mentor.cc.purdue.edu