Age | Commit message (Collapse) | Author | Files | Lines |
|
makes the discard_const stuff nicer)
(This used to be commit 662f01f8ba861a5ef1d5ee724ed2b3ab9812597a)
|
|
- check explicit check for varargs.h as fallback from stdarg.h
and fail the build if both are not present
metze
(This used to be commit b091d182fe8f36dfb67b7ede933a963b74034d91)
|
|
the max amount of memory of one process
metze
(This used to be commit f47b7bb656c8854c16c5a28ba24d18eeb22b6e22)
|
|
should I merge that aslo to samba3?
metze
(This used to be commit c5672a54a02e3f457effd7cc693a6f6ac2dcc621)
|
|
the children
this fixes an endless loop bug!
- reenable the test for this
should I merge this to samba3?
metze
(This used to be commit 0559222b62930765519aaab5d33609ece29014d6)
|
|
pass the error to the callers
metze
(This used to be commit 7aa07a1e0b2abd1a6ecd490410685d20c0201094)
|
|
(This used to be commit bba33a976b1954b5e9e557c9323afc92616439a3)
|
|
type safe. This only works on recent gcc versions. With other
compilers it reverts to a non-typesafe cast
The patch also ensures that talloc_free() does not change error on
systems where free() can change errno
(This used to be commit babbff5f777642f559747f6d0697bc7c3a5e798d)
|
|
(This used to be commit e00ff9f35eed28aeecdc779cee06b87c34d82124)
|
|
have a structure that references one of its parents, and a parent of
that parent is freed, then the whole structure should be freed, not
just the reference.
this was found by the change notify code, as a side effect of fixing
the memory leak yesterday
(This used to be commit 70531dcaeeb9314d410baa0d285df6a265311541)
|
|
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7f14a90b831ea372277f4f89ee4c5f1)
|
|
- fixed an error found sing the beam analyser
(This used to be commit bc45451ddd6eceb9bf1ca02f84932759d99a1744)
|
|
(This used to be commit 4d0aa6f525c4756ca6942439468b484e3ca4b2fa)
|
|
error (ie. zero is not an error).
(This used to be commit 1ab4674196b9df0b2b7b6eb4991358cc2f86c0d9)
|
|
we aren't linked against a C99 vsnprintf.
(This used to be commit 23782f899aaa5fe488d86d5e67e91be99ff7a146)
|
|
(This used to be commit 7a0e7074f6d3d38ce92f2b617549d5dbbaf968ef)
|
|
talloc, and ldb is now LGPL
(This used to be commit 5bdd50fa38b1be28cf7bcddc561c743437e70cae)
|
|
(This used to be commit f31a2376f3fef1cc2b40b37fb4d94a4b67eec6d4)
|
|
(This used to be commit 46632e2048f0b87de351cd3f26229cfc4b3384ca)
|
|
report from robert collins.
- updated talloc guide to reflect the fact that over the last few
months talloc overhead compared to malloc has dropped, probably due
to a bunch of small changes. It now costs about 4% more than malloc
on my box
(This used to be commit 689a9ccf91f9de560a500787d85321abe096b948)
|
|
memory loop with talloc_unlink(), so now we detect it and handle it
(This used to be commit 563058e78b8c74e821fabf6a43fa861c1ad09944)
|
|
(This used to be commit 7ccf21ab4eeb9821e457308a239f2103a106fb12)
|
|
the two-way
tree nature of the data structure. I think I've finally got it right
also added talloc_show_parents() for debugging
(This used to be commit 5760ed20eed509b0b6e09e78c942dd0f70350fa9)
|
|
(This used to be commit ee3fe42fb16821eedd564201d953042190f7826f)
|
|
These provide a way to find a parent of a ptr that is of a given
type. I will be using this to find the event context in smbd, relying
on the fact that everything is a child of the top level event
context. I did look at the alternatives, and found that passing the
event context to just about every call in smbd was getting way too
complex (we need to get it to anything that can do a ldb operation, as
that can invoke ldap).
So this method avoids a global, and seems to work nicely
(This used to be commit bdb55c7a10a516b75652065e14f5acd09d24ab35)
|
|
bytes per allocation, but makes it much more portable
(This used to be commit 257027a571da254c16b0b456cb1cbec284d7fda0)
|
|
(This used to be commit aac86583a9bff7d882ed56633126a1d9f27eea6a)
|
|
(This used to be commit f46c532883e18b8780ff73d3ac0899690eeab3f4)
|
|
(This used to be commit 450ac2e4dea25910ee5384747bdb6ad7323e967d)
|
|
- samba malloc wrapper avoidance not needed now we don't use includes.h
- make testsuite work when BOOL, True, False already defined
(This used to be commit c8a274c8735957a8a8dd21421abd65a8a1af20f7)
|
|
(This used to be commit c2ce09d38003fd43212de9cd08e4a781cc2aff88)
|
|
giving valgrind errors
(This used to be commit 7af0c547e0c0da3bc78a1ee6c2ab29114d8625cc)
|
|
compile on
trunk, 3_0 and 4_0.
Volker
(This used to be commit 777c489cad610fef140ec80d5644111b04a314c1)
|
|
(This used to be commit 34671674ee326ea835408f8c1fdb105ea50ccc55)
|
|
Sometimes it is usefull to know this data.
Simo.
(This used to be commit df401847827ef660d8b9d55af9b27bb85bad6b5f)
|
|
Volker
(This used to be commit 9fa26d2c971a7baee64d8938e31909cac80f0e5a)
|
|
(This used to be commit 40b8ee186af3e7f771c680dbbb03fdcf559bf103)
|
|
Andrew Bartlett
(This used to be commit 48c518796797f021c9c7f319ca8cd0a0c185f64c)
|
|
- default to using va_copy(), thus assuming a modern libc
(This used to be commit 3060b26c9e745330682f6209d97e723113b65b56)
|
|
- allow standalone talloc to use gcc printf attributes
(This used to be commit e25aa54e962796e6e7385afed57aa287ef6f869d)
|
|
using tee
(This used to be commit e73e49aaa64f6f976918f087cf196b00eecc3eb2)
|
|
the type names that talloc already keeps around for pointers, and
allows the user to type check void* private pointers. It can also be
used to implement polymorphism in C, as I'm sure someone would have
pointed out to me sooner or later :-)
(This used to be commit c283e1a3efac3a92e29a35856e20eb61ef4c221e)
|
|
(This used to be commit 603ef69be075821e3ffe2084bb5cfb0bc9cce180)
|
|
- add talloc_parent() to return the parent context of a pointer
these are very use full for debuging
metze
(This used to be commit 9b9501bc03ef8d4b53049f6b3531d06ed7ef7f89)
|
|
- added #if TALLOC_DEPRECATED around the _p functions
- fixes the code that broke from the above
while doing this I fixed quite a number of places that were
incorrectly using the non type-safe talloc functions to use the type
safe ones. Some were even doing multiplies for array allocation, which
is potentially unsafe.
(This used to be commit 6e7754abd0c225527fb38363996a6e241b87b37e)
|
|
talloc_p() macro. Use
talloc_size() if you want the old behaviour.
I have kept talloc_p() as an alias for now. Once we change all calls
to be plain talloc() then we can remove it.
(This used to be commit 2011bbeb841fd6bfccf3d44a49f79203f7f55baa)
|
|
context that
will automatically be freed on program exit. This is useful for reducing
clutter in leak reports
(This used to be commit cf73dda652e0a121901f22771104be6751c0fcb9)
|
|
- added gcov flags to Makefile.talloc
- expanded talloc testsuite to add a test for realloc with a child ptr
- fixed a bug in talloc_realloc() with realloc of a ptr that has child ptrs
(This used to be commit 98b5f73c1ba34d7576c5995069b485c1c5ede324)
|