[PATCH] Fix readdir_r with long file names

Florian Weimer fweimer@redhat.com
Mon Jun 10 07:20:00 GMT 2013


On 06/07/2013 04:41 PM, Rich Felker wrote:
> Yes. I just disagree with recommending that portable applications use
> readdir_r (as discussed on the Austin Group tracker/list, it has major
> problems related to NAME_MAX not being mandatory) and with the idea
> (by someone else, not you) to add a readdir4 rather than just
> deprecating caller-provided buffers for reading directories. Those
> were the only things I was commenting on.

Carlos, what do you think about this?  I tend to agree with Rich here 
and would like to back out this part of your suggestions again.

-- 
Florian Weimer / Red Hat Product Security Team



More information about the Libc-alpha mailing list