Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!haven!uvaarpa!hudson!biochsn!wrp From: wrp@biochsn.acc.Virginia.EDU (William R. Pearson) Newsgroups: comp.sys.mac.programmer Subject: Re: THINK C 4.0: first impressions Summary: Lots of Bugs Message-ID: <1984@hudson.acc.virginia.edu> Date: 10 Sep 89 14:32:05 GMT References: <949@cbnewsk.ATT.COM> <2560@husc6.harvard.edu> Sender: news@hudson.acc.virginia.edu Reply-To: wrp@biochsn (William R. Pearson) Organization: University of Virginia, Charlottesville Lines: 22 I have having a lot of problems with THINK C v4.0, it seems to be full of bugs, and somewhat less Unix friendly than v3.0 or 2.0. For example, strncmp() does not work correctly. Try the following program: #include main() { char *str1, *str2; str1 = "This is a string"; str2 = "This"; printf(" %s : %s - %d\n",str1,str2,strncmp(str1,str2,4)); } Since I do not speak 68000 asm, it is not clear to me where the bug is. Since many other things have stopped working, I am not certain how many there are. Bill Pearson