1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-01 05:47:28 +03:00
Jeremy Allison 5e3b923124 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@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.
(This used to be commit 8aa9860ea2ea7f5aed4b6aa12794fffdfa81b0d0)
2002-03-13 20:28:19 +00:00
..
2002-01-30 06:09:48 +00:00
2002-03-01 22:02:53 +00:00
2002-01-20 14:30:58 +00:00
2001-11-28 21:51:11 +00:00
2002-03-05 00:53:46 +00:00
2002-02-27 00:05:00 +00:00
2002-01-30 06:08:46 +00:00
2001-04-28 13:49:34 +00:00
2002-03-12 00:08:08 +00:00
2002-03-10 04:45:18 +00:00
2002-03-12 00:08:08 +00:00
1996-05-04 07:50:46 +00:00