projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Get rid of DEBUG_FLOCK. Just set flock level for tstflock program.
[idzebra-moved-to-github.git]
/
util
/
charmap.c
diff --git
a/util/charmap.c
b/util/charmap.c
index
f5f6207
..
d38be4f
100644
(file)
--- a/
util/charmap.c
+++ b/
util/charmap.c
@@
-1,4
+1,4
@@
-/* $Id: charmap.c,v 1.38 2005-06-15 21:31:45 adam Exp $
+/* $Id: charmap.c,v 1.40 2006-05-10 08:13:44 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
Copyright (C) 1995-2005
Index Data ApS
@@
-101,11
+101,12
@@
static chr_t_entry *set_map_string(chr_t_entry *root, NMEM nmem,
}
if (!len)
{
}
if (!len)
{
- if (!root->target || !root->target[0] || strcmp(root->target[0], to))
+ if (!root->target || !root->target[0] ||
+ strcmp((const char *) root->target[0], to))
{
if (from_0 &&
root->target && root->target[0] && root->target[0][0] &&
{
if (from_0 &&
root->target && root->target[0] && root->target[0][0] &&
- strcmp (root->target[0], CHR_UNKNOWN))
+ strcmp((const char *) root->target[0], CHR_UNKNOWN))
{
yaz_log (YLOG_WARN, "duplicate entry for charmap from '%s'",
from_0);
{
yaz_log (YLOG_WARN, "duplicate entry for charmap from '%s'",
from_0);
@@
-762,3
+763,11
@@
void chrmaptab_destroy(chrmaptab tab)
}
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+