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

Re: [MiNT] scandir() bug



On 29/04/2013 10:28, Alan Hourihane wrote:
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.

Good, the "arc" tool now works with the latest MiNTLib :-)

--
Vincent Rivière