Volker Lendecke
87d8a63ce4
Fix bug 5400
...
Thanks to Jason Mader!
Volker
2008-04-19 17:04:09 +02:00
Gerald W. Carter
359921acd4
Fix out of tree build. Remove the embedded srcdir path from talloc and tdb.
2008-04-16 15:48:00 +02:00
Michael Adam
303a3eb128
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
...
Michael
(cherry picked from commit 38855a9f145b54d05f4a508562fc1a6595e0d895)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
da98f4d223
Make sure talloc.so is build before installing.
...
(cherry picked from commit 51769f5cfc0f3a9f85ea533598a1f769e108d075)
2008-02-13 01:40:12 +01:00
Jelmer Vernooij
a780c0594a
Fix out of tree builds.
...
(cherry picked from parts of commit 35c8ebdca2612b52cd3eb2aafd35041d17173722)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
7710d3dea3
Split actual content out of talloc Makefile into talloc.mk.
...
(cherry picked from commit 2b8939975267fc4774bccd2a35ea9a35129d0a2b)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
6f8165e4b0
Split rules.mk out of Makefile.
...
(cherry picked from commit 75ffc2c50d70e6f4108c3e6843c8d2bb212f6d9e)
2008-02-13 01:40:11 +01:00
Michael Adam
0d9ae82f51
Make versions in lib/talloc/config.mk and lib/talloc/configure.ac the same.
...
Not sure if we can produce one from the other, so I manually made
them equal for now.
Michael
(cherry picked from commit 1c14c457bea75fb3055712547cca501e8ef3fc20)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
4b03f88c1e
build: Remove support for DESCRIPTION setting that is now unused.
...
(cherry picked from parts of commit 91d7ba5202e6c375456a42c2c6861f63c7fcfc20)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
77664bc482
talloc/tdb: Use manually written pc file.
...
(cherry picked from parts of c8947fda23eb874a7694bdee1b4de605744c2769)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
a146145c28
r26570: - Trim size of the swig-generated Python bindings by removing a 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
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
f4c59316b9
r26454: Add simple SWIG macro for wrapping talloced types.
...
(cherry picked from talloc parts of commit 760fcc8bfa2a7cd7641465cb3bae889e9e0fbc75)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
d6198f2bd7
r26292: Make sure swig directory exists.
...
(cherry picked from commit 7962d221fcb877c9fd3bbc890827338de54ca94a)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
f1267f74a9
r26280: Fix installation if swig is not available.
...
(cherry picked from commit 3320bd401f7b669bd62f83bf16a1c16ad0543a5c)
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
8276ec7596
r26276: Install SWIG files if swig is present.
...
(cherry picked from talloc parts of commit dfd5b456f932268e2b1a82e2775037d356b9483e)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
22d48224d3
r26197: Add bindings for libsecurity.
...
(cherry picked from parts of commit 8625cd403ba3a7d2b1b1fccfeb5efd7e21de0135)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
8e35bbeac2
r26187: Fix module name, indentation.
...
(cherry picked from parts of commit ef790ebf3a712dbbb85d6af65c804199c2c084fc)
Michael
2008-02-13 01:40:11 +01:00
Jelmer Vernooij
5938a73238
r26072: Import trivial SWIG wrapper for talloc.
...
(cherry picked from commit 02d259c2c45c03dbfcd16173df93d7ba96ed1419)
2008-02-13 01:40:10 +01:00
Stefan Metzmacher
6c09291872
r25987: libreplace: rename AC_LD_SHLDFLAGS into AC_LIBREPLACE_SHLD_FLAGS
...
metze
(cherry picked from parts of commit c179807165b84dd832ab64f794034960668e5957.
The changes to lib/replaces have already been merged.)
Michael
2008-02-13 01:40:10 +01:00
Stefan Metzmacher
ce3625a386
r25973: talloc: fix usage of SONAMEFLAG
...
metze
(cherry picked from commit 7fecb8f3cd9f5f69dce7b9e566011e5de1e01a4a)
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
f231d03e53
r25953: AIX make doesn't support $^.
...
(cherry picked from parts of commit 91133d27110ee6447dbc64f1c8d52cb90ca1a86c)
Michael
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
7a7dcd9b12
r25944: Fix handling of sonameflag on AIX, which doesn't have anything like that.
...
(cherry picked from parts of commit 228dd6830eb9c91287bb3e0233d8b3a404ff3676)
Michael
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
42b56f77ff
r25884: Specify shldflags first, as required by some compilers.
...
(cherry picked from commit 40a8cd0d2fd4d10110243ee75ff92bef73bb06b9)
2008-02-13 01:40:10 +01:00
Jelmer Vernooij
ddfc86b71d
r25882: Build shared library of talloc as well.
...
(cherry picked from commit 3692ba8299d4177289ca401fa467143ad14ccad4)
2008-02-13 01:40:10 +01:00
Volker Lendecke
ee905a085f
Fix a c++ warning
2008-01-10 12:28:20 +01:00
Volker Lendecke
0272b46515
talloc_free_children can only reset pool if it's empty
2008-01-10 12:28:20 +01:00
Volker Lendecke
d89e42f1d2
Mark talloc_pool memory for valgrind
2008-01-10 12:28:20 +01:00
Volker Lendecke
287e29d988
Implement talloc_pool()
...
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
2008-01-09 17:05:19 -08:00
Michael Adam
3a4bf4b7c3
Add a comment.
...
Michael
2008-01-09 01:35:43 +01:00
Michael Adam
45b219642c
Fix talloctort: move size check after referenced ptr check.
...
Michael
2008-01-09 01:34:21 +01:00
Volker Lendecke
28a72ebd45
Don't shrink a talloc area if we have less than 1k to gain
2008-01-09 00:10:16 +01:00
Stefan Metzmacher
84ebb6cac2
r25230: sync lib/talloc with SAMBA_4_0
...
metze
2007-10-10 12:30:52 -05:00
Jeremy Allison
2243a73d65
r25164: Add talloc_asprintf_append_buffer() and the docs for it.
...
Jeremy.
2007-10-10 12:30:47 -05:00
Jeremy Allison
93c42fd9b5
r25116: Fix talloc_asprintf_append to do the right thing with
...
truncated strings.
Jeremy.
2007-10-10 12:30:41 -05:00
Stefan Metzmacher
ddbe971030
r24627: merge from SAMBA_4_0:
...
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
2007-10-10 12:30:11 -05:00
Andrew Tridgell
256301a21a
r23802: fixed URL in XML
2007-10-10 12:28:28 -05:00
Andrew Tridgell
87c91e4362
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 12:28:27 -05:00
Andrew Tridgell
43cd589773
r23799: updated old Franklin Street FSF addresses to new URL
2007-10-10 12:28:26 -05:00
Andrew Tridgell
c676a97114
r23798: updated old Temple Place FSF addresses to new URL
2007-10-10 12:28:26 -05:00
Andrew Tridgell
1b78cace50
r23790: LGPLv3+ conversion for our LGPLv2+ library code
2007-10-10 12:28:25 -05:00
Jeremy Allison
c2f7ab1c17
r23780: Find and fix more GPL2 -> GPL3.
...
Jeremy.
2007-10-10 12:28:21 -05:00
Stefan Metzmacher
86c510e319
r22759: sync lib/talloc with samba4
...
metze
2007-10-10 12:21:54 -05:00
Jeremy Allison
da78488b86
r22564: Move the _strict -> _zeronull functions into lib/util.c
...
and out of talloc at tridge's request.
Jeremy.
2007-10-10 12:19:45 -05:00
Jeremy Allison
fcbfa2c991
r22541: Added talloc_size_strict macro.
...
Jeremy.
2007-10-10 12:19:43 -05:00
Jeremy Allison
06b47f3d72
r22540: Added _strict varients of the macro calls - added
...
prototypes.
Jeremy.
2007-10-10 12:19:43 -05:00
Jeremy Allison
1283da1bf8
r22539: Added _strict varients of the talloc calls to
...
return NULL on size == 0 varients.
Jeremy.
2007-10-10 12:19:43 -05:00
Stefan Metzmacher
7fab12b34a
r22366: sync lib/talloc/ with samba4
...
metze
2007-10-10 12:19:29 -05:00
Stefan Metzmacher
4c93c05542
r22268: merge from samba4:
...
protect #define __location__ with an #ifndef
metze
2007-10-10 12:19:23 -05:00
Andrew Tridgell
04f6f01dfe
r21176: merged va_end() changes from Samba4
2007-10-10 12:17:45 -05:00
Stefan Metzmacher
c718eb7a7c
r20197: merge talloc fixes from samba4:
...
- make most static functions inline
- handle NULL pointers in talloc_parent_chunk()
- use talloc_parent_chunk() in talloc_parent_name()
to fix a bug found by the IBM checker
metze
2007-10-10 12:16:31 -05:00