[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] scandir() bug



On 04/29/13 09:04, Andreas Schwab wrote:
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.


Ah, perfect. Thanks for looking deeper into this Andreas !

Tested and committed.

Alan.