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:
4e27827
)
yaz-icu returns exit code 3 if ICU is not present.
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 30 Dec 2008 10:36:50 +0000
(11:36 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 30 Dec 2008 10:36:50 +0000
(11:36 +0100)
util/yaz-icu.c
patch
|
blob
|
history
diff --git
a/util/yaz-icu.c
b/util/yaz-icu.c
index
30d9048
..
f14b494
100644
(file)
--- a/
util/yaz-icu.c
+++ b/
util/yaz-icu.c
@@
-393,7
+393,7
@@
static void print_icu_xml_locales(const struct config_t *p_config)
if(U_FAILURE(status))
{
fprintf(stderr, "ICU Error: %d %s\n", status, u_errorName(status));
- exit(status);
+ exit(2);
}
}
@@
-536,6
+536,7
@@
int main(int argc, char **argv)
"re-configure and re-compile\n");
+ exit(3);
#endif /* YAZ_HAVE_ICU */
return(0);