projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Various clean up. Removed function ccl_parset_get_bibset. Removed
[yaz-moved-to-github.git]
/
src
/
cclfind.c
diff --git
a/src/cclfind.c
b/src/cclfind.c
index
f03de85
..
3d81f2d
100644
(file)
--- a/
src/cclfind.c
+++ b/
src/cclfind.c
@@
-56,7
+56,7
@@
/* CCL find (to rpn conversion)
* Europagate, 1995
*
/* CCL find (to rpn conversion)
* Europagate, 1995
*
- * $Id: cclfind.c,v 1.9 2007-04-25 20:52:19 adam Exp $
+ * $Id: cclfind.c,v 1.10 2007-04-26 09:11:56 adam Exp $
*
* Old Europagate log:
*
*
* Old Europagate log:
*
@@
-257,10
+257,7
@@
static struct ccl_rpn_attr *add_attr_node (struct ccl_rpn_node *p,
n = (struct ccl_rpn_attr *)xmalloc (sizeof(*n));
ccl_assert (n);
if (set)
n = (struct ccl_rpn_attr *)xmalloc (sizeof(*n));
ccl_assert (n);
if (set)
- {
- n->set = (char*) xmalloc (strlen(set)+1);
- strcpy (n->set, set);
- }
+ n->set = xstrdup(set);
else
n->set = 0;
n->type = type;
else
n->set = 0;
n->type = type;