summaryrefslogtreecommitdiff
path: root/source3/lib
AgeCommit message (Collapse)AuthorFilesLines
2002-01-16Roll back PSTRING_SANCTIFY patch; just leave non-controversial typeMartin Pool1-2/+2
and constness changes. (This used to be commit cee0ec72746122c962e6c5278a736266a7f2c424)
2002-01-15#ifdef variable that's not used without dmallocMartin Pool1-0/+2
(This used to be commit bf513668cb76fd20b04b8142c86c263280b05bb6)
2002-01-15Add constness to filenames passed to functions.Martin Pool3-3/+28
(This used to be commit 8d106dc1f4a51112516d72ae68747ca6b5b904b7)
2002-01-14FIXME We should turn the global list off when using Insure++,Martin Pool1-0/+3
otherwise all the memory will be seen as still reachable. (This used to be commit 682e7cd394c1e1cc9a83f7e8e5e3694e083946c4)
2002-01-13A couple of coding syle updates to follow the re-indent.Andrew Bartlett1-5/+5
(This used to be commit 7417d6f9310188d2ad3d8f41d3dcbe55862c72ac)
2002-01-13Re-indent these two functions to make it actually possible to understand theirAndrew Bartlett1-161/+161
contents... Andrew Bartlett (This used to be commit e20d69d51862ea3fd5a7317a9592bd4dc6e68bfd)
2002-01-13I'm doing some things towards the NamedPipes game with lckl and he has asked meAndrew Bartlett1-1/+103
to move this from being a static to matching its mate in lib/util_sock.c. In any case, this should discorage anybody from using the 'wrong' version of this function. (ie the one from TNG, which needs a bit more error checking depending on use). Andrew Bartlett (This used to be commit e6a3a01f795a85d908180ff19469ce09a2803512)
2002-01-11Round and round we go....Jeremy Allison1-1/+2
Jeremy. (This used to be commit 2603ab3c6870f3697751b887e940910713f08985)
2002-01-11Latest attempt at changeid.Jeremy Allison1-2/+26
Jeremy. (This used to be commit 24ee18c77e1b61004d8ed817118a481f3d43e34c)
2002-01-11Same fix as went into 2.2 (I'm waiting for jerry to finish some code).Jeremy Allison1-6/+6
Jeremy. (This used to be commit 01ff6ce4963e1daff019f2b936cef218e1c93f67)
2002-01-10Spelling fix.Tim Potter1-1/+1
(This used to be commit 85d3ffb2709258e576191adade9c61b11e83eec5)
2002-01-10Getting ready to add UNIX extensions in HEAD also.Jeremy Allison1-184/+392
Jeremy (This used to be commit 6210d4aa196c944e47076e316980f76ac9c6b02d)
2002-01-09Add two more memory-debug smbcontrol messages: these ones shouldMartin Pool1-0/+70
prompt dmalloc to log information about what happening, so you can see in flight why smbd is getting bloated. (This used to be commit bcb443c5c4bf97fe6b5b0993e42496c2e64f0124)
2002-01-09Add UNUSED(paramname) macro to be used in parameter lists, to quietenMartin Pool1-1/+4
gcc warnings about unused parameters. msg_pool_usage: assert msg_type is as expected. (This used to be commit 3ef135e91aaebf9648c4dd13f59686f57f4cff70)
2002-01-09Add harmless parentheses so that dmalloc doesn't get confused by aMartin Pool1-1/+1
variable called 'free'. (This used to be commit a823e3f8b2961c3e24205911354a55ffa588233b)
2002-01-09Fixed all uses of tdb_fetch/store/_int to use explicit int32 little endianJeremy Allison1-7/+8
in tdb's. All except winbindd_idmap.... Hmmmmmm. Jeremy. (This used to be commit ec71f1732b6b27bd2d65b250a6f3720a235dc38d)
2002-01-07merge changes from 2.2 branch to prevent smb.conf from changing debug levelHerb Lewis1-0/+3
of commands when specified on command line. (This used to be commit 39d6b31e14144a3ff4b992d4286b706147e58566)
2002-01-05simple fix for creating blank data blobsAndrew Tridgell1-2/+7
(This used to be commit 08bb2dfec2ca0282e9268d09da2b966d3bdf493a)
2002-01-05Add a talloc varient of the data_blob functions.Andrew Bartlett1-3/+48
Also change the structure so it has its own (optional) 'free' pointer - so we don't free() a talloc'ed version. also split out the data_blob_clear() functionaility. Andrew Bartlett (This used to be commit 207ee8aac42cf4b35f07e496b15fdeabe50950bc)
2002-01-03Fixed nasty cast of tdb_delete in traversals.Jeremy Allison1-1/+1
Jeremy. (This used to be commit a0cdec3acc82d1ce0292fadd4b8dac23638450f3)
2002-01-03Don't use static memory, malloc it...Jeremy Allison1-2/+12
Jeremy. (This used to be commit 8aee8211cddb6705c9aa545fc57ece2c721ef448)
2002-01-03Fix the fix.... (sigh).Jeremy Allison1-1/+1
Jeremy. (This used to be commit 73cf9d04f6a35aa3b6bdb4e921de34e0021b5a2c)
2002-01-03Fixed embarressing 16k strack trashing bug :-(.Jeremy Allison1-8/+9
Jeremy. (This used to be commit b52c3219d6f46df6e98742447d65ecda2ecbac65)
2002-01-03Make talloctort call talloc_describe_all before exitingMartin Pool1-0/+2
(This used to be commit 4877501da92762d233e5e4f24d1cb2bdd1eab8ae)
2002-01-03Cope nicely with pools with no name.Martin Pool1-1/+10
(This used to be commit 86abefc17260387b6b68c71ad5587ef0212162c0)
2002-01-03talloc accounting now includes number of chunks and bytes allocated.Martin Pool1-9/+42
(This used to be commit cd25d01e42e7874bc93f6ca336c5b2cde453bb52)
2002-01-03Send back talloc allocation information when POOL_USAGE is received.Martin Pool1-2/+8
(This used to be commit 7cb8e95f9332d4c278d2aac5416f963639609d5a)
2002-01-03Add talloc_asprintf_append, which grows an existing string buffer toMartin Pool1-4/+76
contain new print-formatted information. (Also talloc_vasprintf_append.) Idea borrowed from glib. (This used to be commit 53723e874885936dd67483ebf46601fc73489d17)
2002-01-03smbd now sends a reply to MSG_REQ_POOL_USAGE, though it's prettyMartin Pool1-1/+5
boring so far. (This used to be commit 9b217dce7fe89d1e36a91d7d011c2a9fe185e0d3)
2002-01-03smbd should register to receive MSG_REQ_POOL_USAGE. Response shouldMartin Pool1-0/+45
be information about memory usage, but this is not done yet. (This used to be commit 830a126a442bdde28fc42e23e7260c344b6534b9)
2002-01-03If we receive a message that is not handled then emit a gentle warningMartin Pool1-0/+8
to the log. (This used to be commit 53dd8b45397f5de7660594b9287341f8f4c91c43)
2002-01-03debug output on receipt of message.Martin Pool1-0/+2
(This used to be commit 6bd5b7ce8ec54faefcf129fcc98cc4440bb355d6)
2001-12-31const religionSimo Sorce1-3/+3
(This used to be commit c0904d96170a9166b8cd405b75ce4a9bbc32ad1b)
2001-12-31more irix -64 portability fixesAndrew Tridgell2-11/+0
(This used to be commit 65e857b36e170e3ecd78bf6695ae73342e9c04cd)
2001-12-31- portablitity fixes for cc -64 on irixAndrew Tridgell1-2/+2
- fixed gid* bug in rpc_server (This used to be commit 48aa90c48c5f0e3054c4acdc49668e222e7c0d36)
2001-12-30freeing the wrong pointer, sorry my mistake.Simo Sorce1-5/+5
(This used to be commit ce7e89949ae1755f9faa008784a5b1a9b137945e)
2001-12-30util_sid.c - respect a const variabile (addedd strdup)Simo Sorce1-4/+12
cli_reg.c - indentation pdb_ldap.c - some checks on init fns parameters pdb_tdb.c - some checks on init fns parameters + make sure we close the db on failure (This used to be commit 49f5cb7a3df6d673f86e6769319aa657e30d8380)
2001-12-21fixed a typo in vsyslog()Andrew Tridgell1-1/+1
(This used to be commit da353bc539db6e2f8d834275abdd9b5fb47b9db8)
2001-12-21Add an output parameter to message_send_all that says how manyMartin Pool1-12/+33
messages were sent, so you know how many replies to expect. Const and doc religion. (This used to be commit 22e510ea0d69356be4fd2fa5ad9e9f4e84f62337)
2001-12-20fixed warnings on irix and crash bug on big endian machinesAndrew Tridgell4-8/+12
(This used to be commit cc6c263993eaf0715f231fc80ca7e6e65694548b)
2001-12-20much better auto-init of valid_table[]. This should just about removeAndrew Tridgell3-9/+62
the need for valid.dat (This used to be commit 0cfd0a5e543181b1384f7afee93fbaf3ccb2b999)
2001-12-20mark '.' as a valid characterAndrew Tridgell1-1/+1
(This used to be commit 85f04fa61dffb15bc034dd756ee75b997a36d892)
2001-12-20Add --enable-dmalloc to link against the dmalloc malloc debugger.Martin Pool1-1/+7
It's not as strong as Insure, but it's free, reasonably efficient and works on every platform. (This used to be commit e76d27fcdb33df5212ca5b0ce53c77ed8ca58906)
2001-12-19Added AC_CHECK_FUNCS(syslog vsyslog).Jeremy Allison1-0/+14
nsswitch code uses vsyslog without checking for it. Provide replacement for vsyslog in lib/snprintf if not found by configure. Jeremy. (This used to be commit ab2e55cdb376d6699c9a09fac243fba7d3840447)
2001-12-19fixed sid_compare_domain()Andrew Tridgell1-3/+29
(This used to be commit c11c27b2812ceb06a52afbb7662f82a8676b1707)
2001-12-19Use less memory, but scribble all over it, just in case there'sMartin Pool1-4/+6
something wrong with the way it's allocated. (This used to be commit a7b052d991bf39b6f3391f78b95b18ebb8ef596c)
2001-12-19Doc how to reply to messages.Martin Pool1-1/+8
(This used to be commit e2b080587c4d6e147cf7274fa7e09e89ae2083c3)
2001-12-19Make TALLOC_CTX and talloc_chunk private to talloc.c.Martin Pool2-7/+82
Add a global singly-linked list of all active talloc pools, so that we can eventually show how much memory is used for different purposes. This also gives a check that pools are not being doubly freed. talloc_init_named now handle a NULL name properly (ie does nothing) Add accessor talloc_pool_name(). (This used to be commit 4c6c03c8c7c18762dd9ef1a1bd88350b8960542f)
2001-12-19DocMartin Pool1-8/+12
(This used to be commit 7da982e9268be7eb93fe7d6ad7da5b33ce44181c)
2001-12-19DocMartin Pool1-1/+7
(This used to be commit 5dc2827b6eaca8f7b833fdf9977528084e3a3ff0)