1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/lib/tdb/common
Kirill Smelkov b4424f8234 tdb: reset tdb->fd to -1 in tdb_close()
So that erroneous double tdb_close() calls do not try to close() same
fd again. This is like SAFE_FREE() but for fd.

Signed-off-by: Kirill Smelkov <kirr@mns.spb.ru>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2009-10-29 10:14:33 +10:30
..
check.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
dump.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
error.c Move common libraries from root to lib/. 2008-09-17 14:11:12 +02:00
freelist.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
freelistcheck.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
io.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
lock.c lib/tdb: wean off TDB_ERRCODE. 2009-10-22 00:09:43 +10:30
open.c tdb: reset tdb->fd to -1 in tdb_close() 2009-10-29 10:14:33 +10:30
tdb_private.h tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
tdb.c tdb: detect tdb store of identical records and skip 2009-10-25 13:15:18 +11:00
transaction.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00
traverse.c tdb: rename 'struct list_struct' into 'struct tdb_record' 2009-10-23 18:27:20 +02:00