Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!think.com!spool.mu.edu!news.cs.indiana.edu!noose.ecn.purdue.edu!mentor.cc.purdue.edu!burnett From: burnett@mentor.cc.purdue.edu (Andy Burnett) Newsgroups: comp.sys.atari.st Subject: Sozobon C and malloc Message-ID: <11497@mentor.cc.purdue.edu> Date: 28 Apr 91 21:51:12 GMT Article-I.D.: mentor.11497 Organization: Purdue University Lines: 17 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