CVS update: samba/source/smbd
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/smbd
In directory va:/tmp/cvs-serv4188/smbd
Modified Files:
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.27 => 1.28
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/blocking.c?r1=1.27&r2=1.28
reply.c 1.369 => 1.370
http://www.samba.org/cgi-bin/cvsweb/samba/source/smbd/reply.c?r1=1.369&r2=1.370
More information about the samba-cvs
mailing list