ndir.h bug
Hokey
hokey at plus5.UUCP
Fri Apr 26 04:44:34 AEST 1985
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
More information about the Comp.sources.bugs
mailing list