[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] scandir() bug
Alan Hourihane <alanh@fairlite.co.uk> writes:
> I don't fully understand the original code. But I've committed a fix for
> now that gets it working.
The real bug is that <bits/dirent.h> defines _DIRENT_HAVE_D_RECLEN, but
d_reclen does not have the expected semantics. That member should
really be named d_namlen and _DIRENT_HAVE_D_NAMLEN should be defined.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."