X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=index%2Frecindex.c;h=73ef6339d94b3e9eadfc238d6a9d99472b23998a;hb=b8fb0cb30ffc1fb35a34608a27245dd091566bb9;hp=25a997ff7d3c315edf7bbe3969d178bc9f83df29;hpb=04fba3ff986bf55dcaca1ef958f2b118e9a6832d;p=idzebra-moved-to-github.git diff --git a/index/recindex.c b/index/recindex.c index 25a997f..73ef633 100644 --- a/index/recindex.c +++ b/index/recindex.c @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994-1997, Index Data I/S + * Copyright (C) 1994-1998, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: recindex.c,v $ - * Revision 1.19 1997-09-17 12:19:16 adam + * Revision 1.20 1998-01-12 15:04:08 adam + * The test option (-s) only uses read-lock (and not write lock). + * + * Revision 1.19 1997/09/17 12:19:16 adam * Zebra version corresponds to YAZ version 1.4. * Changed Zebra server so that it doesn't depend on global common_resource. * @@ -127,7 +130,6 @@ static int read_indx (Records p, int sysno, void *buf, int itemsize, { logf (LOG_FATAL|LOG_ERRNO, "read in %s at pos %ld", p->index_fname, (long) pos); - abort (); exit (1); } return r; @@ -231,6 +233,7 @@ static void rec_write_single (Records p, Record rec) { logf (LOG_FATAL|LOG_ERRNO, "read in %s at free block %d", p->data_fname[dst_type], block_free); + exit (1); } } else