Andrew Tridgell
a0ff739bca
r22422: merged tdb changes from ctdb
2007-10-10 14:51:17 -05:00
Stefan Metzmacher
8f24f6b38e
r22319: sync lib/tdb/ with samba3
...
metze
2007-10-10 14:51:01 -05:00
Andrew Tridgell
ff78be0be4
r22165: merge transaction fix from samba3
2007-10-10 14:49:56 -05:00
Andrew Tridgell
6921f2f709
r22081: transaction_brlock() should be static
...
thanks to Ted T'so for pointing this out
2007-10-10 14:49:48 -05:00
Stefan Metzmacher
5677b01d1d
r22053: remove samba3 specific stuff from tdbtool
...
should I merge this to SAMBA_3_0? as it's also totally
broken there, as the connection_struct definition is completely
different
metze
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
f471e75216
r22052: merge tdbtool from samba3 and build it
...
metze
2007-10-10 14:49:46 -05:00
Stefan Metzmacher
902a76ca70
r22041: merge trivial changes from samba3
...
metze
2007-10-10 14:49:45 -05:00
Volker Lendecke
98a27ab28a
r21722: Add the dead record functionality presented on samba-technical@samba.org. If
...
you do a tdb_set_max_dead(tdb, n), then for this tdb a delete operation will
only mark a record as dead and re-use it if a new record is created. The
parameter n allows for at most n dead records per hash chain. If this number
is exceeded, all dead records are put on the central freelist.
Volker
2007-10-10 14:49:18 -05:00
Volker Lendecke
afe7d78558
r21445: Apply tdb_parse_record Tridges error return, merge to 3_0_25 and 4_0
2007-10-10 14:48:36 -05:00
Volker Lendecke
ed30a0ff60
r21412: The last patch also incremented the seqnum when tdb_store failed. Not as bad
...
as not doing it at all, but needs fixing. Also simplify the logic, I had
missed the "goto out" at the end of the function.
Volker
2007-10-10 14:48:28 -05:00
Volker Lendecke
e518c68fc5
r21410: We have to increment the sequence number also when tdb_update_hash()
...
succeeded. Found while testing the brlock seqnum patch.
Tridge, please check!
Volker
2007-10-10 14:48:27 -05:00
Volker Lendecke
7b5db2e472
r21303: As discussed on samba-technical: Change the static array for the in-memory
...
mirrors of the hash chain locks to a dynamically allocated one.
Jeremy, I count on you to revert it if the build farm freaks out, it's after
midnight here :-)
Volker
2007-10-10 14:48:06 -05:00
Paul Green
41c775efde
r19989: Add support to the tdb Makefile.in for executable extensions and for
...
separately specifying CPPFLAGS and LDFLAGS.
2007-10-10 14:28:44 -05:00
Jeremy Allison
bd0710fa09
r19960: Add code to check for loops in the free list.
...
Should help us validate tdb's against corruption.
Jeremy.
2007-10-10 14:28:40 -05:00
Jelmer Vernooij
1b04669852
r19570: Fix dependencies in pkg-config files.
2007-10-10 14:24:54 -05:00
Andrew Tridgell
979dd24f5e
r19428: moved tdbutil.c from lib/tdb/common/ to lib/util/util_tdb.c
...
tdbutil.c is Samba specific, so should not be part of the generic tdb
library
2007-10-10 14:21:30 -05:00
Andrew Tridgell
c9d9d79c34
r19425: two more tdb functions from samba3
2007-10-10 14:21:29 -05:00
Andrew Tridgell
db3211079f
r19423: merge some tdb changes from SAMBA_3_0 to SAMBA_4_0
...
this is in preparation of a merge in the other direction
2007-10-10 14:21:29 -05:00
Andrew Tridgell
de664ec1f8
r19401: make tdb_lockall() much more efficient, and add a tdb_lockall_read()
...
call which does a read lock on all chains. These will be used to make
ldb searches more efficient
2007-10-10 14:21:26 -05:00
Stefan Metzmacher
bd4cd24a9d
r19276: remove unused file
...
metze
2007-10-10 14:21:01 -05:00
Andrew Tridgell
61104953c8
r18604: fixed shell syntax
2007-10-10 14:18:55 -05:00
Andrew Tridgell
13878b7e7e
r18600: - fix shell syntax in tests for libraries
...
- add library test for libpopt
2007-10-10 14:18:55 -05:00
Andrew Tridgell
9f45f970f7
r18594: fail the configure step if the required library is not found for tdb,
...
talloc or libreplace
2007-10-10 14:18:54 -05:00
Andrew Tridgell
5a8becb1be
r18539: 'make distclean' should delete config.cache
2007-10-10 14:18:43 -05:00
Andrew Tridgell
823cd3ab35
r18535: move the AC_CANONICAL_HOST and host specific flag tests into
...
libreplace. This should fix the standalone build of tdb on HPUX, where
we need to blacklist mmap.
Unfortunately this requires that we have a copy of config.guess and
config.sub in each of our project subdirectories. I tried to find a
way to use something like AC_CONFIG_AUX_DIR($libreplacedir) and just
put config.{guess,sub} in the lib/replace/ directory, but I couldn't
figure out how to do that in a way that kept autoconf happy for each
of our separate builds. Any autoconf guru out there see a way to do
this?
2007-10-10 14:18:42 -05:00
Stefan Metzmacher
95d33e4d71
r18485: include libreplace.m4 in the aclocal.m4 files
...
and use the macros in configure.ac
metze
2007-10-10 14:18:36 -05:00
Andrew Tridgell
025b142ff2
r18400: move MAP_FAILED define to lib/replace/system/shmem.h
2007-10-10 14:18:23 -05:00
Andrew Tridgell
eba6c84eff
r18301: I discovered how to load the warnings from a build farm build into
...
emacs compile mode (hint, paste to a file, and compile as "cat
filename").
This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
2007-10-10 14:18:04 -05:00
Andrew Tridgell
007da6115a
r18285: tdb now needs install-sh
2007-10-10 14:18:01 -05:00
Andrew Tridgell
4860d02565
r18280: more portability tidyups, ensuring we use libreplace everywhere
2007-10-10 14:18:00 -05:00
Stefan Metzmacher
135d096776
r18213: don't list LIBREPLACE depdendecies explicit and
...
always at it as first private dependencies
metze
2007-10-10 14:17:50 -05:00
Andrew Tridgell
57cd0ca176
r18160: - pread and pwrite replacements need to be non-static
...
- replacing rename() is pointless - all platforms have it (and the
#define of rename breaks some code)
- use system/locale.h in snprintf.c
- fix passwd.h for initgroups
- stdlib is in replace.h, not needed elsewhere
- fix the initgroups replacement
- fix mapping of dl functions to rep_*
2007-10-10 14:17:44 -05:00
Stefan Metzmacher
38f9e90a12
r18152: move our AC macros into lib/replace/libreplace_macros.m4
...
and include them from there
metze
2007-10-10 14:17:43 -05:00
Stefan Metzmacher
477c83c983
r18149: fix make *clean
...
metze
2007-10-10 14:17:42 -05:00
Stefan Metzmacher
67cb692a48
r18148: - use PHONY for test
...
- don't try to install with make test
- add make distclean and realdistclean
metze
2007-10-10 14:17:41 -05:00
Andrew Tridgell
a4d1f1d222
r18143: the 'showflags' convention from Samba is useful for the other packages
2007-10-10 14:17:40 -05:00
Andrew Tridgell
2f6cd41f40
r18131: fixed tdb subsystem to use right tdb.h
...
fixed LIBREPLACE dep in lib/charset
2007-10-10 14:17:37 -05:00
Andrew Tridgell
77d1a468e0
r18129: moved the system includes into libreplace - this gives much more
...
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)
2007-10-10 14:17:36 -05:00
Andrew Tridgell
05521650c6
r18108: move tdb to use the same build methods
2007-10-10 14:17:18 -05:00
Stefan Metzmacher
816fa197a7
r18098: use m4_include() instead of sinclude()
...
this breaks ./autogen.sh in lib/ldb/, but the ldb build is broken
anyway
metze
2007-10-10 14:17:16 -05:00
Stefan Metzmacher
5753107443
r18090: sometimes autoconf picks up some old stuff:
...
- remove configure and config.h.in
- cleanup after autoconf and autoheader are done
metze
2007-10-10 14:17:14 -05:00
Jelmer Vernooij
fe7ca4b145
r18031: Merge my replace fixes:
...
* libreplace can now build stand-alone
* add stub testsuite for libreplace
* make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Stefan Metzmacher
18b4ae591a
r17960: try to use gmake if present on IRIX
...
metze
2007-10-10 14:16:57 -05:00
Jelmer Vernooij
f7afa1cb77
r17930: Merge noinclude branch:
...
* Move dlinklist.h, smb.h to subsystem-specific directories
* Clean up ads.h and move what is left of it to dsdb/
(only place where it's used)
2007-10-10 14:16:54 -05:00
Stefan Metzmacher
bbe641f236
r17781: fix compiler warning
...
metze
2007-10-10 14:16:41 -05:00
Andrew Tridgell
aca417c6b1
r17737: fixed a 'declaration in code' error
2007-10-10 14:16:34 -05:00
Andrew Tridgell
01b76c7aa1
r17686: tdb.pc is in the build directory
2007-10-10 14:16:24 -05:00
Andrew Tridgell
3a22b28f2b
r17684: and we need -Iinclude for tdb
2007-10-10 14:16:23 -05:00
Andrew Tridgell
a81a3874e1
r17680: make standalone tdb support building and testing in a different
...
directory to source
2007-10-10 14:16:23 -05:00
Stefan Metzmacher
af08e56442
r17532: merge from SAMBA_3_0 Revision: 17460
...
First step at fixing the build breakage with the groupmapping test. On Linux,
F_RDLCK is defined to 0, for example NetBSD has it at 1.
Still does not work fully though. Still investigating.
metze
2007-10-10 14:15:34 -05:00