[PATCH] Fix readdir_r with long file names

Roland McGrath roland@hack.frob.com
Tue Jun 11 17:05:00 GMT 2013


> On 06/11/2013 12:39 AM, Roland McGrath wrote:
> > Respect _DIRENT_HAVE_D_NAMLEN and use strlen only if no d_namlen.
> 
> You mean, replace the call to strlen with the _D_EXACT_NAMLEN macro?

Yes.



More information about the Libc-alpha mailing list