cvs commit: src/sys/sys dirent.h

Joerg Sonnenberger joerg at britannica.bec.de
Sun Aug 13 12:38:08 PDT 2006


On Sun, Aug 13, 2006 at 12:19:47PM -0700, Matthew Dillon wrote:
> dillon      2006/08/13 12:19:47 PDT
> 
> DragonFly src repository
> 
>   Modified files:
>     sys/sys              dirent.h 
>   Log:
>   Add some linux compatibility defines, _DIRENT_HAVE_D_NAMLEN and
>   _DIRENT_HAVE_D_TYPE.

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
either.

Joerg





More information about the Commits mailing list