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
The static function bool(), which is part of cql_to_ccl_r(), now makes
[yaz-moved-to-github.git]
/
src
/
cclstr.c
diff --git
a/src/cclstr.c
b/src/cclstr.c
index
7c1e3e9
..
a970643
100644
(file)
--- a/
src/cclstr.c
+++ b/
src/cclstr.c
@@
-9,7
+9,7
@@
#if HAVE_CONFIG_H
#include <config.h>
#endif
#if HAVE_CONFIG_H
#include <config.h>
#endif
-#include <ctype.h>
+#include <yaz/yaz-iconv.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
@@
-17,7
+17,10
@@
static int ccli_toupper (int c)
{
static int ccli_toupper (int c)
{
- return toupper (c);
+ if (yaz_islower(c))
+ return yaz_toupper(c);
+ else
+ return c;
}
int (*ccl_toupper)(int c) = NULL;
}
int (*ccl_toupper)(int c) = NULL;