bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH] Explain how to access data returned from dir_readdir


From: Samuel Thibault
Subject: Re: [PATCH] Explain how to access data returned from dir_readdir
Date: Sat, 24 Apr 2021 22:48:27 +0200
User-agent: NeoMutt/20170609 (1.8.3)

Andrew Eggenberger, le ven. 23 avril 2021 07:12:22 -0500, a ecrit:
> I see your point. But this is more about the hurd-specific nature of
> dir_readdir than the dirent struct. readdir in glibc returns one dirent at a
> time, not something called an array that can’t be reliably treated as one.
> That’s what this patch is meant to document.

So the real fix is to not call it an array :)
I did so in the fs.defs source.

Thanks,
Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]