CVS update: samba/source/include

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


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

Update of /data/cvs/samba/source/include
In directory va:/tmp/cvs-serv3991/include

Modified Files:
      Tag: SAMBA_2_2
	proto.h smb_macros.h 
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:
proto.h		1.900.2.330 => 1.900.2.331
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/proto.h?r1=1.900.2.330&r2=1.900.2.331
smb_macros.h		1.15.2.19 => 1.15.2.20
	http://www.samba.org/cgi-bin/cvsweb/samba/source/include/smb_macros.h?r1=1.15.2.19&r2=1.15.2.20




More information about the samba-cvs mailing list