cvs commit: src/sys/sys dirent.h

Matthew Dillon dillon at
Sun Aug 13 13:55:28 PDT 2006

:>     sys/sys              dirent.h 
:>   Log:
:>   Add some linux compatibility defines, _DIRENT_HAVE_D_NAMLEN and
:I think this is crap and shouldn't clutter our headers. Just because
:Linux has a stupid idea to create such flags doesn't make it sensible. I
:haven't seen source code using this, which doesn't also probe for them.
:No BSD has them and I'm pretty sure that Solaris doesn't have them

   Well, I thought about it and, frankly, I consider having to probe for
   features (ala gnu configure) to be a godaweful hack compared to simply
   having #define's that allows code to trivially detect whether a feature
   exists or not.

   GNU configure is the bane of all life in the universe.  It is a piece of
   crap that has caused no end of pain to anybody trying to port software
   in the open source community.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Commits mailing list