summaryrefslogtreecommitdiff
path: root/textproc/namazu2/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/namazu2/patches/patch-aj')
-rw-r--r--textproc/namazu2/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/namazu2/patches/patch-aj b/textproc/namazu2/patches/patch-aj
new file mode 100644
index 00000000000..166e759e5e4
--- /dev/null
+++ b/textproc/namazu2/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2004/12/15 13:09:58 taca Exp $
+
+--- src/output.c.orig 2004-03-21 00:02:51.000000000 +0900
++++ src/output.c
+@@ -490,7 +490,7 @@ print_query(const char * qs, int w)
+ if (strncmp(qs, "whence=", strlen("whence=")) == 0) {
+ foo = 1;
+ printf("whence=%d", w);
+- for (qs += strlen("whence="); isdigit(*qs); qs++);
++ for (qs += strlen("whence="); isdigit((unsigned char)*qs); qs++);
+ } else {
+ /* '"' is converted to entities """ */
+ putc_entitize(*qs);