On 06/04/2013 04:12 AM, Peter Maydell wrote:
> Newer architectures may only implement the getdents64 syscall, not
> getdents. Provide an implementation of getdents in terms of getdents64
> so that we can run getdents-using targets on a getdents64-only host.
> 
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
> Message-id: 1370193044-24535-1-git-send-email-peter.mayd...@linaro.org
> ---
> Changes v1->v2:
>  * memmove() call moved to before we write inode/offset/reclen
>  * wrapped a stray long line that snuck in somehow

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to