summaryrefslogtreecommitdiff
path: root/sysutils/tits
diff options
context:
space:
mode:
authorkleink <kleink>2004-12-14 00:30:22 +0000
committerkleink <kleink>2004-12-14 00:30:22 +0000
commitda2733efc8d1b0c43a97e10503a3145f078091d9 (patch)
tree5c672fed47116b249eeb97283aadf81cde42af00 /sysutils/tits
parentf31ab5b1d028214cc8aa40fc0b6781e24ff99525 (diff)
downloadpkgsrc-da2733efc8d1b0c43a97e10503a3145f078091d9.tar.gz
Add (unsigned char) casts to ctype function arguments.
Diffstat (limited to 'sysutils/tits')
-rw-r--r--sysutils/tits/distinfo4
-rw-r--r--sysutils/tits/patches/patch-ab14
-rw-r--r--sysutils/tits/patches/patch-ac14
3 files changed, 31 insertions, 1 deletions
diff --git a/sysutils/tits/distinfo b/sysutils/tits/distinfo
index fa56044e935..3b20c87aa74 100644
--- a/sysutils/tits/distinfo
+++ b/sysutils/tits/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.4 2003/09/26 08:16:17 agc Exp $
+$NetBSD: distinfo,v 1.5 2004/12/14 00:30:22 kleink Exp $
SHA1 (tits-1.1.1.tar.gz) = 7a8242a5700296d24d74ed155a79673a6b2255a5
Size (tits-1.1.1.tar.gz) = 21411 bytes
SHA1 (patch-aa) = cb97029249e318d30b859ad4479ae6cb0c0ffcf2
+SHA1 (patch-ab) = 028c622b79518cdfe62ee8a3144593e6830e1952
+SHA1 (patch-ac) = 9df6cac6d64978182d4ef6631b4a220126e9d930
diff --git a/sysutils/tits/patches/patch-ab b/sysutils/tits/patches/patch-ab
new file mode 100644
index 00000000000..40f3e4c2fea
--- /dev/null
+++ b/sysutils/tits/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2004/12/14 00:30:22 kleink Exp $
+
+--- listener.c.orig 2003-04-13 11:14:36.000000000 +0200
++++ listener.c 2004-12-14 01:26:50.000000000 +0100
+@@ -221,7 +221,8 @@
+
+ #ifdef LIBWRAP
+ if (lc->lc_args.la_use_wrappers) {
+- request_init(&req, RQ_DAEMON, isdigit(lc->lc_args.la_port[0]) ?
++ request_init(&req, RQ_DAEMON,
++ isdigit((unsigned char)lc->lc_args.la_port[0]) ?
+ pname : lc->lc_args.la_port, RQ_FILE, fd, NULL);
+ fromhost(&req);
+ if (hosts_access(&req) == 0) {
diff --git a/sysutils/tits/patches/patch-ac b/sysutils/tits/patches/patch-ac
new file mode 100644
index 00000000000..d1f7abc3ed8
--- /dev/null
+++ b/sysutils/tits/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2004/12/14 00:30:22 kleink Exp $
+
+--- config.c.orig 2001-02-18 22:00:41.000000000 +0100
++++ config.c 2004-12-14 01:28:03.000000000 +0100
+@@ -477,7 +477,8 @@
+ }
+
+ do {
+- if ((is_hex && !isxdigit(*p)) || (!is_hex && !isdigit(*p)))
++ if ((is_hex && !isxdigit((unsigned char)*p)) ||
++ (!is_hex && !isdigit((unsigned char)*p)))
+ return (config_err(cs, "Invalid integer: %s", arg));
+ } while (*(++p) != '\0');
+