CVS update: samba/source/param

Jeremy Allison jra at samba.org
Thu Mar 14 07:28:19 EST 2002


Date:	Wed Mar 13 12:28:19 2002
Author:	jra

Update of /data/cvs/samba/source/param
In directory va:/tmp/cvs-serv4188/param

Modified Files:
	loadparm.c 
Log Message:
include/smb_macros.h: Don't round up an allocation if the size is zero.
"One of these locks is not like the others... One of these locks is not
quite the same" :-). When is a zero timeout lock not zero ? When it's
being processed by Windows 2000 of course.. This code change, ugly though
it is - completely fixes the foxpro/access multi-user file system database
problems that people have been having. I used a *wonderful* test program
donated by "Gerald Drouillard" <gerald at drouillard.ca> which allowed me
to completely reproduce this problem, and to finally determine the correct
fix. This also explains why Windows 2000 is *so slow* when responding to
the smbtorture lock tests. I *love* it when all these things come together
and finally make sense :-).
Jeremy.


Revisions:
loadparm.c		1.390 => 1.391
	http://www.samba.org/cgi-bin/cvsweb/samba/source/param/loadparm.c?r1=1.390&r2=1.391




More information about the samba-cvs mailing list