pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/tits Add (unsigned char) casts to ctype funct...
details: https://anonhg.NetBSD.org/pkgsrc/rev/008ef94f12b2
branches: trunk
changeset: 485492:008ef94f12b2
user: kleink <kleink%pkgsrc.org@localhost>
date: Tue Dec 14 00:30:22 2004 +0000
description:
Add (unsigned char) casts to ctype function arguments.
diffstat:
sysutils/tits/distinfo | 4 +++-
sysutils/tits/patches/patch-ab | 14 ++++++++++++++
sysutils/tits/patches/patch-ac | 14 ++++++++++++++
3 files changed, 31 insertions(+), 1 deletions(-)
diffs (48 lines):
diff -r e6e651fcf35b -r 008ef94f12b2 sysutils/tits/distinfo
--- a/sysutils/tits/distinfo Tue Dec 14 00:09:26 2004 +0000
+++ b/sysutils/tits/distinfo Tue Dec 14 00:30:22 2004 +0000
@@ -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 -r e6e651fcf35b -r 008ef94f12b2 sysutils/tits/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tits/patches/patch-ab Tue Dec 14 00:30:22 2004 +0000
@@ -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 -r e6e651fcf35b -r 008ef94f12b2 sysutils/tits/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/tits/patches/patch-ac Tue Dec 14 00:30:22 2004 +0000
@@ -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');
+
Home |
Main Index |
Thread Index |
Old Index