CVS update: samba/source/tdb

Martin Pool mbp at samba.org
Tue Dec 4 18:40:26 EST 2001


Date:	Mon Dec  3 23:40:25 2001
Author:	mbp

Update of /data/cvs/samba/source/tdb
In directory va:/tmp/cvs-serv11246

Modified Files:
	tdb.c tdb.h tdbtest.c tdbtool.c tdbtorture.c tdbutil.c 
Log Message:
Better error handling:

 - tdb_open api changed so that you now pass an error handling
   callback when opening the file, so that errors detected during
   opening have somewhere to go.  (All calls from the body of Samba to
   this function go through a wrapper in tdbutil, which has been
   updated.)

 - Clean up logic for deciding how to open tdb.  Emit log messages if
   something goes wrong (e.g. bad magic.)

 - tdbtool now logs errors to stderr.


Revisions:
tdb.c		1.80 => 1.81
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdb.c?r1=1.80&r2=1.81
tdb.h		1.16 => 1.17
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdb.h?r1=1.16&r2=1.17
tdbtest.c		1.9 => 1.10
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdbtest.c?r1=1.9&r2=1.10
tdbtool.c		1.20 => 1.21
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdbtool.c?r1=1.20&r2=1.21
tdbtorture.c		1.11 => 1.12
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdbtorture.c?r1=1.11&r2=1.12
tdbutil.c		1.24 => 1.25
	http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdbutil.c?r1=1.24&r2=1.25




More information about the samba-cvs mailing list