summaryrefslogtreecommitdiff
path: root/ham/dpbox/patches/patch-an
diff options
context:
space:
mode:
Diffstat (limited to 'ham/dpbox/patches/patch-an')
-rw-r--r--ham/dpbox/patches/patch-an26
1 files changed, 22 insertions, 4 deletions
diff --git a/ham/dpbox/patches/patch-an b/ham/dpbox/patches/patch-an
index 2b0a750b8f4..53f437c8c94 100644
--- a/ham/dpbox/patches/patch-an
+++ b/ham/dpbox/patches/patch-an
@@ -1,8 +1,8 @@
-$NetBSD: patch-an,v 1.1 2006/01/24 22:27:07 joerg Exp $
+$NetBSD: patch-an,v 1.2 2006/04/21 02:07:54 wulf Exp $
---- box_sys.c.orig 2006-01-24 22:02:52.000000000 +0000
-+++ box_sys.c
-@@ -1679,6 +1679,14 @@ void show_version(short unr, boolean ext
+--- box_sys.c.orig 2000-04-27 22:18:53.000000000 +0930
++++ box_sys.c 2006-04-14 11:53:42.000000000 +0930
+@@ -1679,6 +1679,14 @@
wlnuser(unr, "NetBSD porting : (c) 1999 Berndt Josef Wulf, VK5ABN");
#define __dp_version_ok
#endif
@@ -17,3 +17,21 @@ $NetBSD: patch-an,v 1.1 2006/01/24 22:27:07 joerg Exp $
#ifndef __dp_version_ok
sprintf(hs, "dpbox v%s%s %s", dp_vnr, dp_vnr_sub, dp_date);
wuser(unr, hs);
+@@ -3123,7 +3131,7 @@
+ for (x = 1; x <= 53; x++) {
+ do {
+ c = dp_randomize(48, 122);
+- } while (!isalnum(c));
++ } while (!isalnum((u_char) c));
+ sprintf(hs + strlen(hs), "%c", c);
+
+ }
+@@ -3174,7 +3182,7 @@
+ for (x = 1; x <= 1620; x++) {
+ do {
+ c = dp_randomize(48, 122);
+- } while (!isalnum(c));
++ } while (!isalnum((u_char) c));
+ sfwrite(k, 1, &c);
+ }
+ sfclose(&k);