pkgsrc/ham/dpbox/patches/patch-aq
wulf 9047ade2a9 Implemented changes for this package to use the REQD_DIR and CONF_FILES
framework for the installation of the configuration files.
Fixed compile warning message due to implicit casting
2006-04-21 02:07:53 +00:00

31 lines
823 B
Text

$NetBSD: patch-aq,v 1.1 2006/04/21 02:07:54 wulf Exp $
--- box_mem.c.orig 2000-04-27 22:18:53.000000000 +0930
+++ box_mem.c 2006-04-14 12:46:08.000000000 +0930
@@ -334,7 +334,7 @@
boxendbusy();
}
-#undef bsize;
+#undef bsize
static long find_bidhash(char *bid)
{
@@ -846,7 +846,7 @@
while (ct < k) {
ct++;
c = zeile[ct - 1];
- if (!isdigit(c)) {
+ if (!isdigit((u_char) c)) {
if (c == '#') {
if (ct > 6)
return size;
@@ -894,7 +894,7 @@
if (rp1[1] == 'B' && rp1[2] == 'I' && rp1[3] == 'N' && rp1[4] == '#') {
i = 4;
while (++i <= remainder && i < 16) {
- if (!isdigit(rp1[i])) {
+ if (!isdigit((u_char) rp1[i])) {
if (rp1[i] == '#') {
if (i > 5) { /* valid header */
binstart = size; /* this is a fallback in case of truncated input buffer */