projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
89150df
)
Fixed tag->tagset dependency
author
Sebastian Hammer
<quinn@indexdata.com>
Fri, 7 Jun 1996 11:04:32 +0000
(11:04 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Fri, 7 Jun 1996 11:04:32 +0000
(11:04 +0000)
retrieval/d1_doespec.c
patch
|
blob
|
history
diff --git
a/retrieval/d1_doespec.c
b/retrieval/d1_doespec.c
index
4a1e002
..
413d9b7
100644
(file)
--- a/
retrieval/d1_doespec.c
+++ b/
retrieval/d1_doespec.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_doespec.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: d1_doespec.c,v $
- * Revision 1.3 1995-11-13 09:27:33 quinn
+ * Revision 1.4 1996-06-07 11:04:32 quinn
+ * Fixed tag->tagset dependency
+ *
+ * Revision 1.3 1995/11/13 09:27:33 quinn
* Fiddling with the variant stuff.
*
* Revision 1.2 1995/11/01 13:54:45 quinn
* Fiddling with the variant stuff.
*
* Revision 1.2 1995/11/01 13:54:45 quinn
@@
-103,7
+106,8
@@
static int match_children_here(data1_node *n, Z_Espec1 *e, int i,
occur = want->occurrences;
if (c->u.tag.element)
tag = c->u.tag.element->tag;
occur = want->occurrences;
if (c->u.tag.element)
tag = c->u.tag.element->tag;
- if (*want->tagType != (tag ? tag->tagset->type : 3))
+ if (*want->tagType != ((tag && tag->tagset) ? tag->tagset->type :
+ 3))
continue;
if (want->tagValue->which == Z_StringOrNumeric_numeric)
{
continue;
if (want->tagValue->which == Z_StringOrNumeric_numeric)
{