1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/lib/tdb
Rusty Russell 91e4a1760d tdb: fix short write logic in tdb_new_database
Commit 207a213c/24fed55d purported to fix the problem of signals during
tdb_new_database (which could cause a spurious short write, hence a failure).
However, the code is wrong: newdb+written is not correct.

Fix this by introducing a general tdb_write_all() and using it here and in
the tracing code.

Cc: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2010-05-05 15:37:18 +09:30
..
ABI s4-waf: rebuild signature files with the api type maps 2010-04-18 15:39:59 +10:00
common tdb: fix short write logic in tdb_new_database 2010-05-05 15:37:18 +09:30
docs tdb: If tdb_parse_record does not find a record, return -1 instead of 0 2010-02-28 17:40:59 +01:00
include tdb: update tdb ABI to use hide_symbols=True 2010-04-20 15:50:27 +10:00
manpages tdb: Also build and install tdb manpages from standalone tdb. 2009-12-21 23:40:12 +01:00
python python: use '#!/usr/bin/env python' to cope with varying install locations 2010-03-25 14:37:19 +11:00
script release-scripts: parametrize scripts 2010-02-08 10:29:06 -05:00
tools subunit: Support formatting compatible with upstream subunit, for consistency. 2010-04-11 20:57:33 +02:00
web Update tdb and talloc web pages 2009-05-05 19:04:39 -04:00
aclocal.m4 Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
autogen-waf.sh build: use a common autogen-waf.sh for all builds 2010-04-12 11:17:35 +10:00
autogen.sh Remove swig use from tdb standalone build. 2008-12-18 19:49:53 +00:00
build_macros.m4 Add shared-build target to tdb. 2008-09-19 18:07:53 -04:00
config.guess Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
config.mk lib/tdb: add tdb_check() 2009-10-22 00:10:34 +10:30
config.sub Update copies of config.guess and config.sub. 2009-05-16 04:03:12 +02:00
configure.ac tdb: Add a non-blocking version of tdb_transaction_start 2010-03-26 14:27:47 -04:00
install-sh Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
libtdb.m4 lib/tdb: add tdb_check() 2009-10-22 00:10:34 +10:30
Makefile.in tdb: fix standalone 'make installdocs' 2010-01-06 14:43:39 +01:00
pytdb.c tdb: update tdb ABI to use hide_symbols=True 2010-04-20 15:50:27 +10:00
python.mk lib/tdb: the python bindings don't use swig anymore 2009-02-02 15:16:08 +01:00
rules.mk tdb: kill last bits from swig 2009-10-29 10:14:33 +10:30
tdb.exports tdb: update tdb ABI to use hide_symbols=True 2010-04-20 15:50:27 +10:00
tdb.mk tdb: fix standalone 'make installdocs' 2010-01-06 14:43:39 +01:00
tdb.pc.in Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
tdb.signatures tdb: update exports and signatures files 2010-03-26 15:21:15 -04:00
wscript build: make python development headers not mandatory in standalone libs 2010-04-21 16:17:08 +10:00