CVS update: samba/source/tdb
Jeremy Allison
jra at samba.org
Wed Oct 17 08:10:24 EST 2001
Date: Tue Oct 16 15:10:23 2001
Author: jra
Update of /data/cvs/samba/source/tdb
In directory va:/tmp/cvs-serv27874/tdb
Modified Files:
tdb.c
Log Message:
Don't core dump when using spinlocks on a read-only tdb. Unfortunately this
means that a read-write opener and a read-only opener are using different
locking mechanisms - this needs to be addressed, but it's hard as the
read-write opener using the spinlocks is usually first, so there's no
way to force them to change down to the fcntl method.
Read only access is less important anyway and can never corrupt the
tdb anyway, so errors in read-only record reads are more tolerable.
Jeremy
Revisions:
tdb.c 1.77 => 1.78
http://www.samba.org/cgi-bin/cvsweb/samba/source/tdb/tdb.c?r1=1.77&r2=1.78
More information about the samba-cvs
mailing list