This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/sysdeps/unix opendir.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 5 Feb 2009 18:20:34 -0000
- Subject: libc/sysdeps/unix opendir.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2009-02-05 18:20:34
Modified files:
sysdeps/unix : opendir.c
Log message:
(__alloc_dir): We have a lot more memory today than when the original
code was written. Use larger buffers. This also makes it unnecessary
to have stat information, if this causes extra efforts.
(__opendir): In case O_DIRECTORY works, don't call fstat just for __alloc_dir.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/opendir.c.diff?cvsroot=glibc&r1=1.46&r2=1.47