Files
evolution/libibex/Makefile.am
Not Zed ed70b7f141 NOOP if writing to a failed file. (word_index_pre): NOOP if failed file.
2001-08-10  Not Zed  <NotZed@Ximian.com>

        * wordindexmem.c (sync_cache_entry): NOOP if writing to a failed
        file.
        (word_index_pre): NOOP if failed file.
        (ibex_create_word_index_mem): Setup blocks value.

        ** Added internal exception handling to libibex, in the case of
        errors with on-disk data, exceptions are returned.

        * block.c (ibex_block_cache_open): Detect fatal errors below us
        and clean up appropriately.
        (ibex_block_cache_fail): New function to handle the failure, and
        keep track of it.
        (ibex_block_cache_sync): Dont do anything if we've failed on this
        file.

        * disktail.c (tail_compress): Add blocks param so we can assert
        for exceptions.

        * hash.c, block.c disktail.c: g_assert->ibex_block_cache_assert
        where dealing with external data.

        * hash.c (hash_info): Add index param so we can assert for exceptions.

        * ibex_block.c (ibex_index_buffer): Setjmp before calling into
        internal routines.
        (ibex_save): "
        (ibex_unindex): "
        (ibex_find): "
        (ibex_find_name): "
        (ibex_contains_name): "
        (ibex_reset): Function to reset the index file if we have an
        error, call when we have an error.

        * block.h (ibex_block_cache_assert): Create assertion/exception
        macros, and include a setjmp buffer for returning it.

2001-08-09  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (libibex_la_SOURCES): Remove wordindex.c,
        wordindexmem is what's used.

svn path=/trunk/; revision=11864
2001-08-10 01:19:47 +00:00

35 lines
620 B
Makefile

## Process this file with automake to produce Makefile.in
noinst_LTLIBRARIES = libibex.la
libibex_la_SOURCES = \
wordindexmem.c \
block.c ibex.h \
hash.c \
disktail.c \
ibex_block.c
libibex_la_LDFLAGS = -static
libibex_la_LIBADD = \
$(GAL_LIBS)
noinst_HEADERS = \
ibex_internal.h \
block.h \
wordindex.h \
index.h
INCLUDES = \
$(EXTRA_GNOME_CFLAGS) \
-DG_LOG_DOMAIN=\"libibex\"
noinst_PROGRAMS = dumpindex testindex
dumpindex_SOURCES = dumpindex.c
dumpindex_LDADD = libibex.la $(GAL_LIBS) $(THREADS_LIBS)
testindex_SOURCES = testindex.c
testindex_LDADD = libibex.la $(GAL_LIBS) $(THREADS_LIBS) -lm