diff options
| author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-21 19:34:37 +0000 |
|---|---|---|
| committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-21 19:34:37 +0000 |
| commit | 9228142ebd6e8e5e923dfa80be674c6e76fb6c54 (patch) | |
| tree | 0e5ccc31b6db352ff4693f8cbd355a79f92a1edc /german/webalizer2/files/patch-ab | |
| parent | 89f56c394ebee8e45ba3af20e65e422a484bf62a (diff) | |
- moved patches from www/webalizer2 to german/webalizer2
PR: 21875
Diffstat (limited to 'german/webalizer2/files/patch-ab')
| -rw-r--r-- | german/webalizer2/files/patch-ab | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/german/webalizer2/files/patch-ab b/german/webalizer2/files/patch-ab new file mode 100644 index 000000000000..f8f53e94cdc3 --- /dev/null +++ b/german/webalizer2/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", |
