Annotation of pkgsrc/ham/dpbox/patches/patch-an, Revision 1.2
1.2 ! wulf 1: $NetBSD: patch-an,v 1.1 2006/01/24 22:27:07 joerg Exp $
1.1 joerg 2:
1.2 ! wulf 3: --- box_sys.c.orig 2000-04-27 22:18:53.000000000 +0930
! 4: +++ box_sys.c 2006-04-14 11:53:42.000000000 +0930
! 5: @@ -1679,6 +1679,14 @@
1.1 joerg 6: wlnuser(unr, "NetBSD porting : (c) 1999 Berndt Josef Wulf, VK5ABN");
7: #define __dp_version_ok
8: #endif
9: +#ifdef __DragonFly__
10: + sprintf(hs, "dpbox (DragonFly) v%s%s %s", dp_vnr, dp_vnr_sub, dp_date);
11: + wuser(unr, hs);
12: + wlnuser(unr, " (c) 1990-2000 Joachim Schurig, DL8HBS");
13: + wlnuser(unr, "Linux porting : (c) 1994-1997 Mark Wahl, DL4YBG");
14: + wlnuser(unr, "NetBSD porting : (c) 1999 Berndt Josef Wulf, VK5ABN");
15: +#define __dp_version_ok
16: +#endif
17: #ifndef __dp_version_ok
18: sprintf(hs, "dpbox v%s%s %s", dp_vnr, dp_vnr_sub, dp_date);
19: wuser(unr, hs);
1.2 ! wulf 20: @@ -3123,7 +3131,7 @@
! 21: for (x = 1; x <= 53; x++) {
! 22: do {
! 23: c = dp_randomize(48, 122);
! 24: - } while (!isalnum(c));
! 25: + } while (!isalnum((u_char) c));
! 26: sprintf(hs + strlen(hs), "%c", c);
! 27:
! 28: }
! 29: @@ -3174,7 +3182,7 @@
! 30: for (x = 1; x <= 1620; x++) {
! 31: do {
! 32: c = dp_randomize(48, 122);
! 33: - } while (!isalnum(c));
! 34: + } while (!isalnum((u_char) c));
! 35: sfwrite(k, 1, &c);
! 36: }
! 37: sfclose(&k);
CVSweb <webmaster@jp.NetBSD.org>