This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix readdir_r with long file names


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?

> Make sure you have a space before paren in your function calls.

*grr* Fixed.

--
Florian Weimer / Red Hat Product Security Team


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]