Age | Commit message (Collapse) | Author | Files | Lines |
|
having it as a real function.
metze
(This used to be commit 2b2e8414650f4793e7fd6e7fb368383ee268948f)
|
|
metze
(This used to be commit c0d095c8c9c1f9a7a96771e20680c105f0cce308)
|
|
talloc_vasprintf_append_buffer()
metze
(This used to be commit 780c1c776e15f7224256a0ba0bda3e9f04702abe)
|
|
metze
(This used to be commit 8532076720ddaf3409db1196550cd7c6884380fc)
|
|
metze
(This used to be commit c2931540bc6e2d7665ef46a123f1c0618c3b55b7)
|
|
only strlen() vs. strnlen() is the difference now.
metze
(This used to be commit 92106e6b7e4ed3b6e1aa942b6dc8ae52fdf5805b)
|
|
Jeremy.
(This used to be commit 5bb8613b86a6788efde840d5b50710f9afd22fed)
|
|
truncated strings.
Jeremy.
(This used to be commit 948d32bb62b0e8c68cc961a380eae602ffc71870)
|
|
wrap it into a function so that the function name
in the backtrace shows what happens.
metze
(This used to be commit 0216ff6daa276e413811ca32cca0a66b4b2abe55)
|
|
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
|
|
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
|
|
talloc_append_string()
- update manpage and add comments about _talloc_set_name_const(ret, ret);
in all places which use them
metze
(This used to be commit 5cd100de829b75b83e49bd572a33a267cf86f215)
|
|
to a separate file.
Jeremy.
(This used to be commit 80706cf98d31593a899652acb2cdedaa8bf3dfab)
|
|
return NULL on size == 0 varients.
Jeremy.
(This used to be commit 1ef269067ca501e2a4ded4ca8654c6a6cc26f385)
|
|
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.
some of this should be ported to Samba3
(This used to be commit 21eb316473486cb6b73bb3ff9c5f3a44ecd57e4a)
|
|
metze
(This used to be commit 9d06a4b6e22e18bdaa4383c7b9ab8af058c157c0)
|
|
metze
(This used to be commit ee47b404412299ac0e341f0d269adc21a7ebc603)
|
|
- use talloc_parent_chunk() in talloc_parent_name()
- add prototype of talloc_parent_name()
metze
(This used to be commit 85fc18f047cd2132d0c455f739ee76ce5005d7ed)
|
|
in the talloc benchmark. These changes were driven by some cachegrind
profiles, with the biggest improvements coming from inlining some
functions.
I don't think it would be a good idea to start spreading inline and
likely()/unlikely() in other parts of Samba, as the benefit in most
code will be very small, but talloc() is such a speed critical part of
Samba that I think these changes are worthwhile
(This used to be commit 8644708c3f42d249b5d1fd2bde37aeb35288da13)
|
|
(This used to be commit fe20ac404d654abe31729664584391f3b3cd0214)
|
|
- talloc_free(talloc_autofree_context()); should not result
in a SIGABORT on exit
- add a test for this, but this test can also pass in the standalone build
and samba3, as samba4 uses talloc_autofree_context()
metze
(This used to be commit 2be48c1b033dceb9517826054b8ea97df2c94472)
|
|
metze
(This used to be commit 450595822441ebaa199d6b10d568274940b1a91b)
|
|
(This used to be commit 9b9f058edb033c999c4430add4f05459ac43c9e2)
|
|
meant for moving pointers between structures. The difference is that
talloc_move() will zero the source pointer, thus ensuring you don't
reference the pointer in the old context.
talloc_move() is appropriate in some, but not all cases where we use
talloc_steal() now. The interface came out of a discussion with
Jeremy.
(This used to be commit 200756017e1867faa207703eddc00a75ae4527df)
|
|
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
(This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)
|
|
metze
(This used to be commit 357882e6ec20b559b7053a8dffb72b7dec26b82f)
|
|
(This used to be commit cd495d89314a653b5976b1690e075fd7bac2f59b)
|
|
metze
(This used to be commit 5697841e2949d2f7a053b4766c48906943a5a04e)
|
|
to do the actual report.
- make the talloc_report_depth_file() a wrapper of it
- and talloc_report() and talloc_report_full() are wrapper of
talloc_report_depth_file()
metze
(This used to be commit b199557b358e6216d89d233513079fcd56b307aa)
|
|
- make talloc_reference() typesafe when gcc >= 3 is used
metze
(This used to be commit 933d1b47ad614d02cc02b602e704948b342febdb)
|
|
metze
(This used to be commit 7cab4285b1b61ad5cb425e42d89bcf7d645b0710)
|
|
metze
(This used to be commit 6955ffe4544eddd9e34461f57858480b1acf49c9)
|
|
metze
(This used to be commit fb73ce8d4364a1da3c320034d90c0556529c61c4)
|
|
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)
|