Re: [PATCH] DT_UNKNOWN: do not fully trust existence of DT_UNKNOWN
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 21, 2006, 08:09 UTC
- Message-ID
- <7vpsmmt32x.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060120215314.GA4203@steel.home>
Alex Riesen <raa.lkml@gmail.com> writes:
Show 6 quoted lines
>> +#undef DT_UNKNOWN >> +#undef DT_DIR >> +#undef DT_REG >> +#undef DT_LNK > > yes, of course
That is technically correct but I suspect it would not matter in practice. The only thing you are avoiding is four compiler warnings when compiling for Cygwin of this week (I heard this is already fixed in Cygwin CVS). On older Cygwin you simply would not use NO_D_TYPE_IN_DIRENT, since d_type worked before. No?