diff options
Diffstat (limited to 'textproc/namazu2/patches/patch-ae')
-rw-r--r-- | textproc/namazu2/patches/patch-ae | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/textproc/namazu2/patches/patch-ae b/textproc/namazu2/patches/patch-ae new file mode 100644 index 00000000000..1bd49859678 --- /dev/null +++ b/textproc/namazu2/patches/patch-ae @@ -0,0 +1,14 @@ +$NetBSD: patch-ae,v 1.1 2004/12/15 13:09:58 taca Exp $ + +--- nmz/idxname.c.orig 2004-03-21 00:25:10.000000000 +0900 ++++ nmz/idxname.c +@@ -153,7 +153,8 @@ nmz_complete_idxnames(void) + int i; + + for (i = 0; i < indices.num; i++) { +- if (*indices.names[i] == '+' && isalnum(*(indices.names[i] + 1))) { ++ if (*indices.names[i] == '+' && ++ isalnum((unsigned char)*(indices.names[i] + 1))) { + char *tmp; + tmp = malloc(strlen(defaultidx) + + 1 + strlen(indices.names[i]) + 1); |