summaryrefslogtreecommitdiff
path: root/source3/include/dlinklist.h
AgeCommit message (Collapse)AuthorFilesLines
2001-03-21Fix memory leak when doing DLIST_REMOVE(head,head).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 4fd8afaf573054eaa838398f62918757659c2c21)
2001-03-20When calling DLIST_REMOVE(x,x) (from lib/interface.c) ensure that the pointerJeremy Allison1-1/+1
is still valid before setting prev and next to null. Jeremy. (This used to be commit 0d2e9e4d32b038c1a71e3a625db46876294e3abf)
2001-03-20Fix for crash when doing name lookup with a quoted string. Part ofJeremy Allison1-6/+12
lookup_name was expecting to be able to write to the string. Changed lookup_name to use const. Jeremy. (This used to be commit 80c18d88491f1148ade623e81c33f84ba4f952f3)
2001-03-17I'm happy with the mapping for NT getACL, now for NT setACL.Jeremy Allison1-0/+15
Jeremy. (This used to be commit 7b97ac289ed472e03b2a6e9c51a568478a93562d)
2000-11-28include/dlinklist.h: Added '{' '}' around DLIST_PROMOTE so it can be used as ↵Jeremy Allison1-1/+3
a single statement after an 'if'. Tracking this down took 4 hours from my life and ANDREW I WANT THEM BACK !!!!! :-). include/smb.h smbd/password.c: Fixed the bug veritas reported with realloc of the validated_users array growing without bounds. This is now a linked list as god (Andrew) intended :-). Jeremy. (This used to be commit 346f2f9206b9b4ed123e2a61c0a48de630397b8a)
1998-09-23nttrans.c:Luke Leighton1-2/+6
winreg was missing from the list of pipes. advise using the array already defined in... rpc_parse/parse_rpc.c's pipe_names[], but writing code to strip "\PIPE\" from the front when making the check. one location to update when adding new pipes, not two. srv_pipe_hnd.c: moved the ZERO_STRUCT(p) macro to _before_ the DLIST_ADD(Pipes, p) macro. dlinklist.h: added { }s around the code inserted by DLIST_ADD and DLIST_REMOVE macros (This used to be commit 29201d4b9b52652c7a992d0f6b677a09b4c33912)
1998-08-17added some optimisation for the case where the number of open files isAndrew Tridgell1-0/+52
very large. files.c now promotes a files_struct to the top of the list if it is used when it is more than 10 elements from the top. also moved common linked list code for the 5 sets of linked lists that I've created over the past few days into dlinklist.h (I've explained to Chris why I didn't use the ubiqx code) (This used to be commit 1eb9ae2996b5a243a147f485e7e353d54f820852)