We do have <dirent.h>, and it was harmful to pretend that we don't. Several files in uucp/libunix included <sys/dir.h> and defined dirent as direct, but <sys/dir.h> defines direct as dirent.  This macro recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep uses cpp in traditional mode (another bug) so cpp prints a error message and exits with a nonzero status.  The error status leaks out of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase