aboutsummaryrefslogtreecommitdiff
path: root/www/webalizer/files/patch-ab
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2000-10-14 13:47:12 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2000-10-14 13:47:12 +0000
commit53085b307ff3fc460851c783024c5c7527923b54 (patch)
tree78f974651ba5d73302a0c1a3285936ea20267e96 /www/webalizer/files/patch-ab
parentff839adaabefa04d5e9e5219cd27fd55fe9e6000 (diff)
downloadports-53085b307ff3fc460851c783024c5c7527923b54.tar.gz
ports-53085b307ff3fc460851c783024c5c7527923b54.zip
Notes
Diffstat (limited to 'www/webalizer/files/patch-ab')
-rw-r--r--www/webalizer/files/patch-ab65
1 files changed, 65 insertions, 0 deletions
diff --git a/www/webalizer/files/patch-ab b/www/webalizer/files/patch-ab
new file mode 100644
index 000000000000..f8f53e94cdc3
--- /dev/null
+++ b/www/webalizer/files/patch-ab
@@ -0,0 +1,65 @@
+--- preserve.c.bak Fri Sep 29 07:51:32 2000
++++ preserve.c Sat Oct 14 17:34:03 2000
+@@ -492,7 +492,7 @@
+ tmp_buf[strlen(tmp_buf)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 10; /* error exit */
+- if (!isdigit((int)buffer[0])) return 10; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 10; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu %lu %lf %lu %lu",
+@@ -523,7 +523,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 8; /* error exit */
+- if (!isdigit((int)buffer[0])) return 8; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 8; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu %lu %lf %lu %lu",
+@@ -563,7 +563,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 9; /* error exit */
+- if (!isdigit((int)buffer[0])) return 9; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 9; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu %lu %lf %lu %lu",
+@@ -602,7 +602,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 11; /* error exit */
+- if (!isdigit((int)buffer[0])) return 11; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 11; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu",&t_rnode.flag,&t_rnode.count);
+@@ -627,7 +627,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 12; /* error exit */
+- if (!isdigit((int)buffer[0])) return 12; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 12; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu",&t_anode.flag,&t_anode.count);
+@@ -652,7 +652,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 13; /* error exit */
+- if (!isdigit((int)buffer[0])) return 13; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 13; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%lu",&t_snode.count);
+@@ -677,7 +677,7 @@
+ tmp_buf[strlen(buffer)-1]=0;
+
+ if ((fgets(buffer,BUFSIZE,fp)) == NULL) return 14; /* error exit */
+- if (!isdigit((int)buffer[0])) return 14; /* error exit */
++ if (!isdigit((unsigned char)buffer[0])) return 14; /* error exit */
+
+ /* load temporary node data */
+ sscanf(buffer,"%d %lu %lu %lf %lu %lu",