From 6e4ce3ebfbe5d9f721e2d2d42e35d8e2b370f035 Mon Sep 17 00:00:00 2001 From: 0 Date: Tue, 30 Oct 2001 05:21:16 +0000 Subject: If we can't open blocks, dont try to deref it. (ibex_move): Dont try to 2001-10-30 * ibex_block.c (ibex_reset): If we can't open blocks, dont try to deref it. (ibex_move): Dont try to rename if we have no file to rename. Change all callers to ibex_use to call it inside the lock. Otherwise it could change while we're trying to use it ... (ibex_use): Dont lock ib here, always assume we have it locked already, and dont try to close it if we run across it in the list. svn path=/trunk/; revision=14430 --- libibex/ibex_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libibex/ibex_internal.h') diff --git a/libibex/ibex_internal.h b/libibex/ibex_internal.h index 9b8c4ce6b2..dfcb496594 100644 --- a/libibex/ibex_internal.h +++ b/libibex/ibex_internal.h @@ -19,6 +19,7 @@ #include "config.h" +#include #include #include "ibex.h" @@ -38,7 +39,6 @@ struct ibex { struct _IBEXWord *words; int predone; - /* sigh i hate glib's mutex stuff too */ #ifdef ENABLE_THREADS GMutex *lock; #endif -- cgit v1.2.3