# Copyright (C) 1994, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.12 1997-09-17 12:10:28 adam Exp $
+# $Id: Makefile,v 1.13 1997-09-22 12:33:41 adam Exp $
LIBDIR=../lib
all: $(PROG)
-$(PROG): $(LIB) $(PROGO)
+$(PROG): $(LIB) $(PROGO) $(LIBS)
$(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
qparser: qparser.o
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: pquery.c,v $
- * Revision 1.13 1997-09-17 12:10:42 adam
+ * Revision 1.14 1997-09-22 12:33:41 adam
+ * Fixed bug introduced by previous commit.
+ *
+ * Revision 1.13 1997/09/17 12:10:42 adam
* YAZ version 1.4.
*
* Revision 1.12 1997/09/01 08:54:13 adam
{
size_t len=strlen(src);
- if (li->lex_len == len && !memcmp (li->lex_buf+off, src, len-off))
+ if (li->lex_len == len+off && !memcmp (li->lex_buf+off, src, len-off))
return 1;
return 0;
}
# Copyright (C) 1995-1997, Index Data I/S
# All rights reserved.
# Sebastian Hammer, Adam Dickmeiss
-# $Id: Makefile,v 1.2 1997-09-17 12:10:43 adam Exp $
+# $Id: Makefile,v 1.3 1997-09-22 12:33:41 adam Exp $
LIBDIR=../lib
all: $(PROG)
-$(PROG): $(LIB) $(PROGO)
+$(PROG): $(LIB) $(PROGO) $(LIBS)
$(CC) $(CFLAGS) $(LIBINCLUDE) -o $(PROG) $(PROGO) $(LIBS)
alll: