projects
/
idzebra-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:
4ffcc4c
)
Changed behaviour of trunc=105 so that * is regular .* and ! is regular .
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Dec 1999 09:03:32 +0000
(09:03 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 23 Dec 1999 09:03:32 +0000
(09:03 +0000)
index/zrpn.c
patch
|
blob
|
history
diff --git
a/index/zrpn.c
b/index/zrpn.c
index
e87cf46
..
7a23376
100644
(file)
--- a/
index/zrpn.c
+++ b/
index/zrpn.c
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
- * Revision 1.98 1999-11-30 13:48:04 adam
+ * Revision 1.99 1999-12-23 09:03:32 adam
+ * Changed behaviour of trunc=105 so that * is regular .* and ! is regular .
+ *
+ * Revision 1.98 1999/11/30 13:48:04 adam
* Improved installation. Updated for inclusion of YAZ header files.
*
* Revision 1.97 1999/10/14 14:33:50 adam
* Improved installation. Updated for inclusion of YAZ header files.
*
* Revision 1.97 1999/10/14 14:33:50 adam
@@
-723,7
+726,7
@@
static int term_104 (ZebraMaps zebra_maps, int reg_type,
return i;
}
return i;
}
-/* term_105/106: handle term, where trunc=Process # and ! and right trunc */
+/* term_105/106: handle term, where trunc=Process * and ! and right trunc */
static int term_105 (ZebraMaps zebra_maps, int reg_type,
const char **src, char *dst, int space_split,
char *dst_term, int right_truncate)
static int term_105 (ZebraMaps zebra_maps, int reg_type,
const char **src, char *dst, int space_split,
char *dst_term, int right_truncate)
@@
-733,6
+736,7
@@
static int term_105 (ZebraMaps zebra_maps, int reg_type,
int i = 0;
int j = 0;
int i = 0;
int j = 0;
+ logf (LOG_LOG, "
if (!term_pre (zebra_maps, reg_type, src, "*!", "*!"))
return 0;
s0 = *src;
if (!term_pre (zebra_maps, reg_type, src, "*!", "*!"))
return 0;
s0 = *src;
@@
-741,7
+745,7
@@
static int term_105 (ZebraMaps zebra_maps, int reg_type,
if (*s0 == '*')
{
dst[i++] = '.';
if (*s0 == '*')
{
dst[i++] = '.';
- dst[i++] = '+';
+ dst[i++] = '*';
dst_term[j++] = *s0++;
}
else if (*s0 == '!')
dst_term[j++] = *s0++;
}
else if (*s0 == '!')