CVS update: samba/source/smbd
Jeremy Allison
jra at samba.org
Thu Mar 14 07:28:38 EST 2002
Date: Wed Mar 13 12:28:38 2002
Author: jra
Update of /data/cvs/samba/source/smbd
In directory va:/tmp/cvs-serv3991/smbd
Modified Files:
Tag: SAMBA_2_2
blocking.c reply.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:
blocking.c 1.14.4.9 => 1.14.4.10
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/blocking.c?r1=1.14.4.9&r2=1.14.4.10
reply.c 1.240.2.98 => 1.240.2.99
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c?r1=1.240.2.98&r2=1.240.2.99
More information about the samba-cvs
mailing list