* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcread.c,v $
- * Revision 1.9 1999-06-25 13:47:25 adam
+ * Revision 1.11 2000-05-15 15:32:51 adam
+ * Added support for 64 bit input file support.
+ *
+ * Revision 1.10 1999/11/30 13:48:04 adam
+ * Improved installation. Updated for inclusion of YAZ header files.
+ *
+ * Revision 1.9 1999/06/25 13:47:25 adam
* Minor change that prevents MSVC warning.
*
* Revision 1.8 1999/05/26 07:49:14 adam
#include <ctype.h>
#include <assert.h>
-#include <log.h>
-#include <yaz-util.h>
-#include <marcdisp.h>
+#include <yaz/log.h>
+#include <yaz/yaz-util.h>
+#include <yaz/marcdisp.h>
#include "grsread.h"
data1_node *data1_mk_node_wp (data1_handle dh, NMEM mem, data1_node *parent)
if (read_bytes == record_length - 4)
{
off_t cur_offset = (*p->tellf)(p->fh);
- assert (cur_offset > 26);
+ if (cur_offset <= 27)
+ return NULL;
if (p->endf)
(*p->endf)(p->fh, cur_offset - 1);
}