Newsgroups: news.software.b Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: C News vs. Xenix Message-ID: <1990Dec28.071117.28485@zoo.toronto.edu> Organization: U of Toronto Zoology References: <1990Dec16.234811.6293@zoo.toronto.edu> <580@camco.Celestial.COM> Date: Fri, 28 Dec 90 07:11:17 GMT In article <580@camco.Celestial.COM> news@camco.Celestial.COM (Bill Campbell) writes: >The xenix include file string.h has an extraneous reference to >strerror(). I just removed this and fixed that problem. In fact, I'm told that the Xenix string.h strerror() definition is *almost* correct... but whatever lunkhead wrote it put a semicolon on the end of the #define! This is more or less harmless until you come to use strerror() in a complicated expression or a declaration, which may be why they didn't spot it. (A less charitable possibility would be that they didn't test it at all, but it being the holidays, let's be charitable. :-)) -- "The average pointer, statistically, |Henry Spencer at U of Toronto Zoology points somewhere in X." -Hugh Redelmeier| henry@zoo.toronto.edu utzoo!henry