summaryrefslogtreecommitdiff
path: root/source3/lib/talloc
AgeCommit message (Collapse)AuthorFilesLines
2008-09-16Share talloc source code between Samba 3 and Samba 4.Jelmer Vernooij20-8047/+0
2008-09-14lib/talloc: sync build system changes from samba4Stefan Metzmacher5-13/+27
metze (This used to be commit 0143c320ccf21c00e1a09b8363cd42724b76faf9)
2008-09-14Skip strcmp() on 2 NULL pointers.Andrew Bartlett1-1/+2
Andrew Bartlett (cherry picked from commit 7b9a647ebbbe9ec9e1b82b42e3a8916396f91273) (This used to be commit 60f7bdac64e32ea39099ababacca6f8a2b780ecb)
2008-09-14r26514: Revert the talloc.c part of r26511, as talloc.h already takes care ↵Kai Blin1-3/+0
of thois. Thanks to metze for pointing this out (cherry picked from commit 4a5e1047fff0620aa534b147ac7e0bd0416a8fe7) (This used to be commit 523cc93f89d00ed5a49fd033988e7221bd2ed902)
2008-09-14r26511: Janitorial: Fix a warning for the 'printf' attribute on gendb_search_vStefan Metzmacher1-2/+5
While at it, also add a PRINTF_ATTRIBUTE for talloc_vasprintf. (partialy cherry picked from commit 5b3a8c8ae195e6a98357a407a0699493f54a8b79) metze (This used to be commit 0073e41a0157ec43b944372671299b3e8a2b3cd5)
2008-09-14Update homepages for talloc, tdb and ldb subprojectsSimo Sorce1-12/+8
(cherry picked from commit 8cb07814bc6627fc8eba228eafd13336e3ca3758) (This used to be commit 7d85b8d076d6b5b1773c44cd527e016b5d319da5)
2008-09-14Adapt source code checkout information to git repo in talloc website.Michael Adam1-4/+5
Michael (cherry picked from commit 254be79799acc69db88a5500a2f755c84553f8ef) (This used to be commit ac724cddc4a42c1c0cade3fb1cd551f005f2b54c)
2008-09-14Fix paths for talloc into unpacked directory (rsync commands).Michael Adam1-2/+2
Michael (cherry picked from commit 2839d7f67a0d3ed5b4841bf3c12ce73972636b88) (This used to be commit a891494d9373a1ecda1ad67c3c6b96cf6d37ea47)
2008-09-14Fix path to talloc guide. Noted by "teferi" on irc.Michael Adam1-1/+1
Michael (cherry picked from commit bc4e03f2ddb669758e27e2a5c32e15c7d6c5257d) (This used to be commit 5e5528ff964cd829a8cf8e508983e1a1eda01c32)
2008-06-27Fix warnings on SuSE 9.0.Karolin Seeger1-0/+8
The macros "[un]likely" are already defined on SuSE 9.0. Patch from Volker. (This used to be commit 30d181c92463aecd6e649330d3645d86d5a17e43)
2008-04-19Fix bug 5400Volker Lendecke1-2/+2
Thanks to Jason Mader! Volker (This used to be commit 87d8a63ce4e6dd91ea3193d0a2574520a5857be2)
2008-04-16Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.Gerald W. Carter1-4/+4
(This used to be commit 359921acd436684a0b4cf76ba15f82a224d2c337)
2008-02-13Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.Michael Adam2-2/+2
Michael (cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895) (This used to be commit 303a3eb128b410be0f4ebb936cd3b983e639c07f)
2008-02-13Make sure talloc.so is build before installing.Jelmer Vernooij1-2/+2
(cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075) (This used to be commit da98f4d223997709b42b4f05ab94d564261f5aee)
2008-02-13Fix out of tree builds.Jelmer Vernooij1-2/+2
(cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722) Michael (This used to be commit a780c0594aeea3705d601a327aa04d9182060cbd)
2008-02-13Split actual content out of talloc Makefile into talloc.mk.Jelmer Vernooij2-37/+42
(cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b) (This used to be commit 7710d3dea350a85348d46747e4f4cde2b20741de)
2008-02-13Split rules.mk out of Makefile.Jelmer Vernooij2-27/+31
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e) (This used to be commit 6f8165e4b064f37335e2b0b185ae6433c06a061a)
2008-02-13Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.Michael Adam1-1/+1
Not sure if we can produce one from the other, so I manually made them equal for now. Michael (cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20) (This used to be commit 0d9ae82f51302c9755b6e50f1df88eb2a079f12a)
2008-02-13build: Remove support for DESCRIPTION setting that is now unused.Jelmer Vernooij1-1/+0
(cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20) Michael (This used to be commit 4b03f88c1ed8c1a2c1e5e7d461ca2d64a8d6a054)
2008-02-13talloc/tdb: Use manually written pc file.Jelmer Vernooij1-0/+1
(cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769) Michael (This used to be commit 77664bc482071798571096a299e7d8b190f53797)
2008-02-13r26570: - Trim size of the swig-generated Python bindings by removing a ↵Jelmer Vernooij1-1/+1
bunch of {}'s. - Start working on Python equivalents for various EJS tests. - Fix regression in argument order for reg_diff_apply() in EJS bindings. (cherry picked from talloc part of commit c550c03372cb260b78f6a6c132e70571bc4cb852) Michael (This used to be commit a146145c28cc355fed47b8a1f322311ffc1a51ab)
2008-02-13r26454: Add simple SWIG macro for wrapping talloced types.Jelmer Vernooij1-0/+7
(cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75) Michael (This used to be commit f4c59316b9251477556dd22cdd246607f4dfa845)
2008-02-13r26292: Make sure swig directory exists.Jelmer Vernooij1-0/+1
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a) (This used to be commit d6198f2bd7d13b5f30bcc46e12026a00f52d9adc)
2008-02-13r26280: Fix installation if swig is not available.Jelmer Vernooij1-1/+1
(cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c) (This used to be commit f1267f74a91374692c3564d783c527f94035b323)
2008-02-13r26276: Install SWIG files if swig is present.Jelmer Vernooij1-0/+1
(cherry picked from talloc parts of commit dfd5b456f932268e2b1a82e2775037d356b9483e) Michael (This used to be commit 8276ec7596b41980aea3f93949edd224fe842fa5)
2008-02-13r26197: Add bindings for libsecurity.Jelmer Vernooij2-9/+2
(cherry picked from parts of commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135) Michael (This used to be commit 22d48224d3235403b916c98c92915165fe7ef330)
2008-02-13r26187: Fix module name, indentation.Jelmer Vernooij1-0/+2
(cherry picked from parts of commit ef790ebf3a712dbbb85d6af65c804199c2c084fc) Michael (This used to be commit 8e35bbeac286c3b8d64d69ebe9bb4a8f5405a9c0)
2008-02-13r26072: Import trivial SWIG wrapper for talloc.Jelmer Vernooij1-0/+24
(cherry picked from commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419) (This used to be commit 5938a732381abed9f5da1db505626b354fe7293e)
2008-02-13r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGSStefan Metzmacher1-1/+1
metze (cherry picked from parts of commit c179807165b84dd832ab64f794034960668e5957. The changes to lib/replaces have already been merged.) Michael (This used to be commit 6c092918725019274cd26218168c5b551ab3c7d2)
2008-02-13r25973: talloc: fix usage of SONAMEFLAGStefan Metzmacher1-2/+1
metze (cherry picked from commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a) (This used to be commit ce3625a3866376d78edc23b137f41be72f07e5eb)
2008-02-13r25953: AIX make doesn't support $^.Jelmer Vernooij1-1/+1
(cherry picked from parts of commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c) Michael (This used to be commit f231d03e53dcf291e0cb8870e531989ab855eae0)
2008-02-13r25944: Fix handling of sonameflag on AIX, which doesn't have anything like ↵Jelmer Vernooij1-1/+1
that. (cherry picked from parts of commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676) Michael (This used to be commit 7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28)
2008-02-13r25884: Specify shldflags first, as required by some compilers.Jelmer Vernooij1-1/+1
(cherry picked from commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9) (This used to be commit 42b56f77ff88f8a9dccd7a8ac7df789d0223c945)
2008-02-13r25882: Build shared library of talloc as well.Jelmer Vernooij2-2/+22
(cherry picked from commit 3692ba8299d4177289ca401fa467143ad14ccad4) (This used to be commit ddfc86b71d7e6fa3d1bd6fcaca4f31dd262e84d2)
2008-01-10Fix a c++ warningVolker Lendecke1-1/+2
(This used to be commit ee905a085fff5410d02c3e5fa2664e989de4afd4)
2008-01-10talloc_free_children can only reset pool if it's emptyVolker Lendecke1-1/+2
(This used to be commit 0272b46515b4c4515d5cad8e86fab61d8e91e29e)
2008-01-10Mark talloc_pool memory for valgrindVolker Lendecke1-3/+16
(This used to be commit d89e42f1d2faa018c584025296d6be8195cbcf20)
2008-01-09Implement talloc_pool()Volker Lendecke3-7/+207
A talloc pool is a chunk of memory that can be used as a context for further talloc calls. Allocations with the pool as the parent just chew from that memory by incrementing a pointer. If the talloc pool is full, then we fall back to the normal system-level malloc(3) to get memory. The use case for talloc pools is the transient memory that is used for handling a single SMB request. Incrementing a pointer will be way faster than any malloc implementation. There is a downside of this: If you use talloc_steal() to move something out of the pool, the whole pool memory is kept around until the last object inside the pool is freed. So if you talloc_free() the pool, it might happen that the memory is freed later. So don't hang anything off a talloc pool that should live long. Volker (This used to be commit 287e29d988813007eeebc0c2bef3b46ab8bedee9)
2008-01-09Add a comment.Michael Adam1-0/+1
Michael (This used to be commit 3a4bf4b7c3081048f0d5491dae6610388c268c2f)
2008-01-09Fix talloctort: move size check after referenced ptr check.Michael Adam1-5/+5
Michael (This used to be commit 45b219642c529865a898625eeb0433c60b233867)
2008-01-09Don't shrink a talloc area if we have less than 1k to gainVolker Lendecke1-0/+5
(This used to be commit 28a72ebd4541fb54f284da49081345e54130c75a)
2007-10-10r25230: sync lib/talloc with SAMBA_4_0Stefan Metzmacher4-125/+184
metze (This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
2007-10-10r25164: Add talloc_asprintf_append_buffer() and the docs for it.Jeremy Allison3-4/+82
Jeremy. (This used to be commit 2243a73d650319208aebbbaf65dfba2a508a7c10)
2007-10-10r25116: Fix talloc_asprintf_append to do the right thing withJeremy Allison1-5/+2
truncated strings. Jeremy. (This used to be commit 93c42fd9b52d9135d8c8b52e97cf342c1c5b5010)
2007-10-10r24627: merge from SAMBA_4_0:Stefan Metzmacher1-2/+12
as TALLOC_ABORT() is defined to abort() by default wrap it into a function so that the function name in the backtrace shows what happens. metze (This used to be commit ddbe971030070ab1b9fc37b8b0ac44a3d9303fe4)
2007-10-10r23802: fixed URL in XMLAndrew Tridgell1-1/+1
(This used to be commit 256301a21a1f393b5a2b89d4dce47b7d4f7bf9be)
2007-10-10r23801: The FSF has moved around a lot. This fixes their Mass Ave address.Andrew Tridgell1-2/+1
(This used to be commit 87c91e4362c51819032bfbebbb273c52e203b227)
2007-10-10r23799: updated old Franklin Street FSF addresses to new URLAndrew Tridgell2-6/+2
(This used to be commit 43cd589773148fe3d243892768ce187604dd0c33)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell3-6/+3
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell3-3/+3
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)