This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix readdir_r with long file names
- From: Florian Weimer <fweimer at redhat dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Tue, 11 Jun 2013 08:06:26 +0200
- Subject: Re: [PATCH] Fix readdir_r with long file names
- References: <519220C7 dot 6050705 at redhat dot com> <20130610223908 dot DEDF52C09F at topped-with-meat dot com>
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