mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
9848c067c0
was the initial cause of the connections database becoming corrupt. Note that this bug only happens when doing deletions within a traversal, which is why it has only showed up now - added delete within traversal testing to tdbtorture - added a lot more logging to tdb (This used to be commit 6e1277df9d964c615a3ad876d3b89ff8132081c1)
24 lines
505 B
Makefile
24 lines
505 B
Makefile
#
|
|
# Makefile for tdb directory
|
|
#
|
|
|
|
CFLAGS = -DSTANDALONE -DTDB_DEBUG -O2 -g -DHAVE_MMAP=1
|
|
CC = gcc
|
|
|
|
PROGS = tdbtest tdbtool tdbtorture
|
|
TDB_OBJ = tdb.o spinlock.o
|
|
|
|
default: $(PROGS)
|
|
|
|
tdbtest: tdbtest.o $(TDB_OBJ)
|
|
$(CC) $(CFLAGS) -o tdbtest tdbtest.o $(TDB_OBJ) -lgdbm
|
|
|
|
tdbtool: tdbtool.o $(TDB_OBJ)
|
|
$(CC) $(CFLAGS) -o tdbtool tdbtool.o $(TDB_OBJ)
|
|
|
|
tdbtorture: tdbtorture.o $(TDB_OBJ)
|
|
$(CC) $(CFLAGS) -o tdbtorture tdbtorture.o $(TDB_OBJ)
|
|
|
|
clean:
|
|
rm -f $(PROGS) *.o *~ *% core test.db test.tdb test.gdbm
|