diff options
author | 0 <NotZed@Ximian.com> | 2001-10-30 13:21:16 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-30 13:21:16 +0800 |
commit | 6e4ce3ebfbe5d9f721e2d2d42e35d8e2b370f035 (patch) | |
tree | 35766282d9d70e849bf7e361badfb9d931900049 /libibex/ibex_internal.h | |
parent | 613e004309c27c94abd4b7159f430796ae70228a (diff) | |
download | gsoc2013-evolution-6e4ce3ebfbe5d9f721e2d2d42e35d8e2b370f035.tar.gz gsoc2013-evolution-6e4ce3ebfbe5d9f721e2d2d42e35d8e2b370f035.tar.zst gsoc2013-evolution-6e4ce3ebfbe5d9f721e2d2d42e35d8e2b370f035.zip |
If we can't open blocks, dont try to deref it. (ibex_move): Dont try to
2001-10-30 <NotZed@Ximian.com>
* 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
Diffstat (limited to 'libibex/ibex_internal.h')
-rw-r--r-- | libibex/ibex_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 <e-util/e-msgport.h> #include <glib.h> #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 |