svn commit: samba r8746 - in branches/SAMBA_4_0/source: . build/tests lib/replace lib/replace/repdir

tridge at samba.org tridge at samba.org
Mon Jul 25 04:03:02 GMT 2005


Author: tridge
Date: 2005-07-25 04:03:01 +0000 (Mon, 25 Jul 2005)
New Revision: 8746

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8746

Log:
replace opendir/readdir/telldir/seekdir/closedir on systems where they
are broken (apparently all BSD systems). This breakage leads to unlink
on files in an open directory causing a later seekdir to miss
files. The bug happens due to a block boundary bug in the BSD libc
implementation of these calls.

This replacement code also fixes a severe memory usage problem with
telldir that can cause closedir() to take an arbitrary amount of time.

I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer)

Added:
   branches/SAMBA_4_0/source/build/tests/os2_delete.c
   branches/SAMBA_4_0/source/lib/replace/repdir/
   branches/SAMBA_4_0/source/lib/replace/repdir/config.m4
   branches/SAMBA_4_0/source/lib/replace/repdir/repdir.c
Modified:
   branches/SAMBA_4_0/source/configure.in
   branches/SAMBA_4_0/source/lib/replace/config.mk


Changeset:
Sorry, the patch is too large (321 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8746


More information about the samba-cvs mailing list