Jelmer Vernooij
5214f5a81f
Allow LDB to be a static library again.
...
(This used to be commit 16fd90d7a9
)
2008-02-16 15:40:55 +01:00
Jelmer Vernooij
ec7c03a80f
Add static header for gencache.
...
(This used to be commit 9a0f6a0012
)
2008-02-16 15:40:42 +01:00
Michael Adam
f3bbe1516c
Fix path to talloc guide. Noted by "teferi" on irc.
...
Michael
(This used to be commit bc4e03f2dd
)
2008-02-14 23:10:00 +01:00
Kai Blin
f22598a95c
util_ldb: Add a missing \n to debug string, fix trailing whitespaces.
...
(This used to be commit b0991cc09b
)
2008-02-14 12:32:29 +01:00
Jelmer Vernooij
cf2df1ebd5
Fix talloc .so installation.
...
(This used to be commit ae522f907e
)
2008-02-13 21:09:21 +01:00
Jelmer Vernooij
8a3f8dc646
Allow tdb.mk and talloc.mk to be included at the same time.
...
(This used to be commit af9e042152
)
2008-02-13 17:42:10 +01:00
Jelmer Vernooij
11bc6056ea
Never build .so versions of tdb/talloc from Samba 4 itself. Rather,
...
use shared library versions if they are provided by the system.
This puts talloc and tdb in a similar situation as popt:
the system version is used if provided but if it's not there or if it
is too old, we use our internal version statically.
(This used to be commit 86f88eb7b5
)
2008-02-13 17:01:37 +01:00
Michael Adam
3cfac63d16
Raise version of talloc from 1.1.0 to 1.2.0 after adding talloc pools.
...
Michael
(This used to be commit 38855a9f14
)
2008-02-12 22:52:58 +01:00
Jelmer Vernooij
1ed346fcb3
Support using shared library during testsuite run if tdb was built with a shared lib internally.
...
(This used to be commit 28539f48e6
)
2008-02-12 13:51:03 +01:00
Jelmer Vernooij
285820bdd4
make sure libraries are built before attempting to install.
...
(This used to be commit deb1dae2da
)
2008-02-12 13:34:19 +01:00
Jelmer Vernooij
18ef767085
Specify PICFLAG when compiling python modules.
...
(This used to be commit 981957165d
)
2008-02-12 13:09:38 +01:00
Jelmer Vernooij
69d6dd1923
Make sure talloc.so is build before installing.
...
(This used to be commit 51769f5cfc
)
2008-02-12 12:46:33 +01:00
Jelmer Vernooij
923d1ec2f4
Fix installation of python module for ldb and tdb.
...
(This used to be commit 6c9a8bf9f0
)
2008-02-12 12:42:31 +01:00
Jelmer Vernooij
e84cd8d38b
tdb/ldb: Use prefix in case DESTDIR is not set.
...
(This used to be commit ab19a8f627
)
2008-02-12 02:15:09 +01:00
Jelmer Vernooij
9522586695
Create the required directories when installing Python code.
...
(This used to be commit 8ef36fe545
)
2008-02-12 01:58:42 +01:00
Jelmer Vernooij
1529331b97
Avoid using setup.py for intsallation.
...
(This used to be commit 7b93e43dad
)
2008-02-12 01:21:10 +01:00
Jelmer Vernooij
aa2fd8ee50
Manually compile python files rather than use setup.py.
...
(This used to be commit 056843a5c2
)
2008-02-12 00:49:36 +01:00
Jelmer Vernooij
8244b4c071
Manually compile python files rather than using setup.py.
...
(This used to be commit 94dfeb5e89
)
2008-02-12 00:35:11 +01:00
Jelmer Vernooij
ecb987c97c
Fix out of tree builds.
...
(This used to be commit 35c8ebdca2
)
2008-02-11 23:51:59 +01:00
Jelmer Vernooij
3e3946cdca
Split actual content out of tdb Makefile into a separate file.
...
(This used to be commit b5d4ab2cf4
)
2008-02-11 22:55:51 +01:00
Jelmer Vernooij
c3d7f14350
Split actual content out of talloc Makefile into talloc.mk.
...
(This used to be commit 2b89399752
)
2008-02-11 22:52:42 +01:00
Jelmer Vernooij
08b3d3ee94
Move some more rules to rules.mk
...
(This used to be commit 2ff3f72fd2
)
2008-02-11 22:14:31 +01:00
Jelmer Vernooij
94decfc49f
Split rules.mk out of Makefile.
...
(This used to be commit 75ffc2c50d
)
2008-02-11 22:05:52 +01:00
Jelmer Vernooij
25641ec13d
Split rules out of tdb Makefile.
...
(This used to be commit 9f233c1454
)
2008-02-11 22:02:57 +01:00
Jelmer Vernooij
3e0f0091e5
ldb: Split up the Makefile so it will be possible later on to directly include fragments in the Samba 3 or 4 makefile.
...
(This used to be commit 6d54e9104d
)
2008-02-11 21:54:13 +01:00
Jelmer Vernooij
4a603898c5
Remove unused function.
...
(This used to be commit e779cf4724
)
2008-02-11 15:19:24 +01:00
Jelmer Vernooij
e54f9c7749
Fix typo.
...
(This used to be commit a5db115dc6
)
2008-02-11 15:19:24 +01:00
Michael Adam
fee4ba14c0
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
(This used to be commit 1c14c457be
)
2008-02-11 15:07:47 +01:00
Volker Lendecke
a275310bcb
Fix a c++ warning
...
(This used to be commit 9f402c607f
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
59820dcb43
talloc_free_children can only reset pool if it's empty
...
(This used to be commit 5cc7a638e9
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
bdb52e4d58
Mark talloc_pool memory for valgrind
...
(This used to be commit 6deca23b6c
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
7a9033fb2d
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
(This used to be commit 60ef9a84f0
)
2008-02-11 15:07:46 +01:00
Michael Adam
81abb395e0
Add a comment.
...
Michael
(This used to be commit 2a2c28584c
)
2008-02-11 15:07:46 +01:00
Michael Adam
af406133c1
Fix talloctort: move size check after referenced ptr check.
...
Michael
(This used to be commit a0caedb94f
)
2008-02-11 15:07:46 +01:00
Volker Lendecke
44cb6a81f2
Don't shrink a talloc area if we have less than 1k to gain
...
(This used to be commit 0c829e6ee6
)
2008-02-11 15:07:46 +01:00
Jelmer Vernooij
b4c81c0c18
Make data about what subsystems/libraries are enabled available in the mkconfig.mk file.
...
(This used to be commit 4cc93a98f9
)
2008-02-11 14:41:28 +01:00
Michael Adam
f890d1daea
Fix the build: remove reference to inexistent header samba3_proto.h
...
Michael
(This used to be commit 3b9b396292
)
2008-02-11 14:27:33 +01:00
Jelmer Vernooij
08c8d3b992
Remove Samba 3 backwards compatibility code in C.
...
This code is no longer used, and equivalent code already exists in Python
(scripting/python/samba/samba3.py)
(This used to be commit c16212e8bf
)
2008-02-11 13:51:09 +01:00
Jelmer Vernooij
d82b6dd09a
Fix switching of hives in regshell ( #5254 )
...
(This used to be commit 5f33545c78
)
2008-02-11 11:48:43 +01:00
Jelmer Vernooij
1a2544a24c
Fix tests.
...
(This used to be commit e4d7cd8ba7
)
2008-02-09 19:16:44 +01:00
Jelmer Vernooij
93bb85d293
Split up tests a bit, output subunit.
...
(This used to be commit 501259ff31
)
2008-02-09 19:04:14 +01:00
Jelmer Vernooij
7a402da97e
registry: Fix warning.
...
(This used to be commit dad8090304
)
2008-02-09 17:18:51 +01:00
Jelmer Vernooij
8fdd13f18a
Remove unused path update.
...
(This used to be commit 1868a42108
)
2008-02-09 15:43:28 +01:00
Jelmer Vernooij
3525f77e56
Move nt_time_equal() to libutil.
...
(This used to be commit 9705263a6c
)
2008-02-09 14:24:24 +01:00
Andrew Tridgell
9e681efdf0
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-test
...
(This used to be commit fd9cc4eb5a
)
2008-02-08 14:13:48 +11:00
Andrew Tridgell
77dab7f857
merge tdb changes from ctdb
...
(This used to be commit b3e60a388d
)
2008-02-08 14:13:19 +11:00
Andrew Bartlett
bbf8aca01d
Fix syntax in LDAP test
...
We don't get this far in the test at the moment however.
Andrew Bartlett
(This used to be commit c3098d5c52
)
2008-02-08 13:23:45 +11:00
Andrew Tridgell
8c4e52547b
merge growing tdb for tdb_wipe_all() fix from ctdb
...
(This used to be commit df4efb902e
)
2008-02-07 23:06:44 +11:00
Andrew Bartlett
7e15e09f67
Fix a few more breakages from our recent changes to the server_id
...
structure. The BASE-TORTURE test found this problem - caused because
the messaging path was not unique.
If we didn't use a macro for cluster_id_equal(), we could make it
opaque, and avoid this...
Andrew Bartlett
(This used to be commit c3387545c5
)
2008-02-04 23:04:35 +11:00
Andrew Bartlett
77f71c1b65
Rework cluster_id() to take an additional argument, as we need
...
<node>.<pid>.<fd> to be unique in a prefork process environment.
Andrew Bartlett and David Disseldorp
(This used to be commit 931994a7f1
)
2008-02-04 17:51:38 +11:00