Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site plus5.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!ihnp4!plus5!hokey From: hokey@plus5.UUCP (Hokey) Newsgroups: net.sources.bugs Subject: ndir.h bug Message-ID: <712@plus5.UUCP> Date: Thu, 25-Apr-85 13:44:34 EST Article-I.D.: plus5.712 Posted: Thu Apr 25 13:44:34 1985 Date-Received: Fri, 26-Apr-85 07:39:51 EST Organization: Plus Five Computer Services, St. Louis Lines: 17 We spent a very nice evening tracking down a problem which turned out to be due to a line in ndir.h which said: #define void Needless to say, this does bad things to lines like: (void) sprintf(sbuf, "Bletch"); The "#define void" line was not present in several versions of the ndir code which I have seen, but it happened to be in the copy of ndir.h which I installed in /usr/include. We deleted the line, as our compiler understands the void type. -- Hokey ..ihnp4!plus5!hokey 314-725-9492