DragonFly commits List (threaded) for 2006-08
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/sys dirent.h
:> 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
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.
-Matt
Matthew Dillon
<dillon@xxxxxxxxxxxxx>
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]