1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
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 8aa9860ea2)
2002-03-13 20:28:19 +00:00
..
aparser replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down 2001-09-10 11:08:57 +00:00
auth Ensure we never use "" as a domain name (Win9X apparently does this for 'net use' duirng login). 2002-03-13 01:51:01 +00:00
bin Added tdbbackup. 2002-03-12 00:05:22 +00:00
client Fix from Michael Steffens <michael_steffens@hp.com> to make signal 2002-01-31 23:26:12 +00:00
codepages removed old unused files 2001-10-03 13:05:59 +00:00
groupdb Removed version number from file header. 2002-01-30 06:08:46 +00:00
include include/smb_macros.h: Don't round up an allocation if the size is zero. 2002-03-13 20:28:19 +00:00
intl Removed version number from file header. 2002-01-30 06:08:46 +00:00
lib Add "Creator Group" - was in 2.2.x and I'm syncing up the two. 2002-03-13 01:29:30 +00:00
libads detect SIZELIMIT_EXCEEDED in ldap queries and truncate 2002-03-13 06:43:52 +00:00
libsmb added cli_locktype() for testing different lockingX lock types 2002-03-11 01:33:06 +00:00
locking include/smb_macros.h: Don't round up an allocation if the size is zero. 2002-03-13 20:28:19 +00:00
msdfs Removed version number from file header. 2002-01-30 06:08:46 +00:00
nmbd Removed unused static function. 2002-03-05 00:46:41 +00:00
nsswitch Fix typo in copyright 2002-03-13 01:26:59 +00:00
pam_smbpass updates from 2.2 2002-01-12 23:12:13 +00:00
param include/smb_macros.h: Don't round up an allocation if the size is zero. 2002-03-13 20:28:19 +00:00
passdb I don't need my name on this twice :-) 2002-03-13 01:25:36 +00:00
po added fr.msg from Fanch 2001-12-09 17:06:45 +00:00
popt stop popt from doing its own intl stuff 2001-11-25 00:10:28 +00:00
printing Merge of enumprinters vs getprinter naming patch from 2.2 2002-03-12 00:16:03 +00:00
profile Removed version number from file header. 2002-01-30 06:08:46 +00:00
rpc_client merge from 2.2 2002-02-13 16:44:49 +00:00
rpc_parse yipee! Finally put in the patch from Alexey Kotovich 2002-03-10 01:54:44 +00:00
rpc_server Merge of enumprinters vs getprinter naming patch from 2.2 2002-03-12 00:16:03 +00:00
rpcclient Swap order of close brace and done: tag to appease AIX compiler. Order shouldn't matter for logic...if anyone disagrees whack me over the head and explain why... 2002-03-08 03:36:03 +00:00
script Move the directory creation process outside the 'installbin.sh' script, and 2002-03-13 01:21:02 +00:00
smbd include/smb_macros.h: Don't round up an allocation if the size is zero. 2002-03-13 20:28:19 +00:00
smbwrapper Removed version number from file header. 2002-01-30 06:08:46 +00:00
tdb a bit more portability for tdbbackup 2002-03-11 00:01:54 +00:00
tests added a simple test to see whether building shared libraries actually 2001-12-31 22:10:24 +00:00
torture only try an ordinary file in lock6 2002-03-11 15:56:59 +00:00
ubiqx
utils Yet another build fix for popt. I gotta get me one of these picky systems... 2002-03-12 17:30:09 +00:00
web Removed version number from file header. 2002-01-30 06:08:46 +00:00
wrepld Fix from Michael Steffens <michael_steffens@hp.com> to make signal 2002-01-31 23:26:12 +00:00
.cvsignore Ignore dmalloc.log. 2002-01-03 03:47:09 +00:00
.dmallocrc Sample configuration for dmalloc. 2002-01-09 06:35:45 +00:00
acconfig.h This is another *BIG* change... 2002-01-20 14:30:58 +00:00
aclocal.m4 Added SWAT i18n feature: 2001-09-24 15:55:09 +00:00
architecture.doc
change-log
CodingSuggestions added "net join" command 2001-11-24 14:16:41 +00:00
config.guess By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
config.sub By popular demand: a new config.guess and config.sub 2001-12-08 17:37:59 +00:00
configure Fixed EXTRA vs EXTGRA typo. Thanks Mike :-). 2002-03-01 19:30:34 +00:00
configure.developer Change ./configure.developer to stay in effect across a 2001-09-25 05:08:05 +00:00
configure.in Fixed typo for winbind on solaris and hpux. 2002-03-03 22:49:08 +00:00
configure.nodebug.developer
Doxyfile Fixed typo. 2002-01-17 02:54:23 +00:00
dynconfig.c Removed version number from file header. 2002-01-30 06:08:46 +00:00
install-sh
internals.doc The big character set handling changeover! 2001-07-04 07:15:53 +00:00
mainpage.dox Make CodingSuggestions show up in the Doxygen pages. 2001-11-16 07:28:23 +00:00
Makefile.in Move the directory creation process outside the 'installbin.sh' script, and 2002-03-13 01:21:02 +00:00
parsing.doc
smbadduser