[PATCH v2 1/9] linux: Move posix dir implementations to Linux

Adhemerval Zanella adhemerval.zanella@linaro.org
Thu Oct 15 14:08:28 GMT 2020



On 13/10/2020 12:33, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
> 
>> This generic implementation already expects a getdents API which
>> is Linux specific.  It also allows simplify it by assuming
>> _DIRENT_HAVE_D_RECLEN and _DIRENT_HAVE_D_OFF support.
>>
>> The readdir are also expanded on each required implementation,
>> futher fixes and improvements will make parametrize the
>> implementation more complex.
>>
>> Checked on x86_64-linux-gnu, i686-linux-gnu, and with a build
>> for all affected ABIs.
> 
> This looks okay to me.  It carries forward bug 12165, but that's okay
> with me.  (That loop should be removed in a separate patch, although the
> code duplication now makes this slightly more work.)

I will send a fix for BZ#12165.


More information about the Libc-alpha mailing list