summaryrefslogtreecommitdiff
path: root/lib/compression
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2010-05-05 15:37:18 +0930
committerRusty Russell <rusty@rustcorp.com.au>2010-05-05 15:37:18 +0930
commit91e4a1760dee22e9a40ca52f1e5a1b549d9e066d (patch)
tree879c390a4be016332c981a4392eaa2a5175a3117 /lib/compression
parenta9e008ee36c8fd9ca79b3bdfdc78111939c3e539 (diff)
downloadsamba-91e4a1760dee22e9a40ca52f1e5a1b549d9e066d.tar.gz
samba-91e4a1760dee22e9a40ca52f1e5a1b549d9e066d.tar.bz2
samba-91e4a1760dee22e9a40ca52f1e5a1b549d9e066d.zip
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>
Diffstat (limited to 'lib/compression')
0 files changed, 0 insertions, 0 deletions