sarg: update to 2.3.11 (needed for gcc-7)

This commit is contained in:
Arne Fitzenreiter
2018-01-26 12:20:57 +01:00
committed by Michael Tremer
parent f205319ca0
commit eaec148fd8
2 changed files with 45 additions and 4 deletions

View File

@@ -0,0 +1,39 @@
diff -Naur sarg-2.3.11.org/index.c sarg-2.3.11/index.c
--- sarg-2.3.11.org/index.c 2018-01-14 19:00:22.000000000 +0100
+++ sarg-2.3.11/index.c 2018-01-24 14:38:19.746338020 +0100
@@ -89,9 +89,9 @@
char monthdir[MAXLEN];
char monthname1[9], monthname2[9];
char nmonth[30];
- char monthnum[10];
+ char monthnum[15];
char dayindex[MAXLEN];
- char daynum[10];
+ char daynum[15];
char title[80];
int yearsort[150];
int nyears;
diff -Naur sarg-2.3.11.org/report.c sarg-2.3.11/report.c
--- sarg-2.3.11.org/report.c 2018-01-14 19:00:23.000000000 +0100
+++ sarg-2.3.11/report.c 2018-01-24 14:38:19.742337939 +0100
@@ -54,7 +54,7 @@
char accsmart[MAXLEN];
char crc2[MAXLEN/2 -1];
char siteind[MAX_TRUNCATED_URL];
- char arqtt[256];
+ char arqtt[MAX_USER_FNAME_LEN * 2 + MAXLEN + 10];
char *oldurltt=NULL;
char oldaccdiatt[11],oldacchoratt[9];
char tmp3[MAXLEN];
diff -Naur sarg-2.3.11.org/userinfo.c sarg-2.3.11/userinfo.c
--- sarg-2.3.11.org/userinfo.c 2013-06-01 20:02:04.000000000 +0200
+++ sarg-2.3.11/userinfo.c 2018-01-24 14:38:19.746338020 +0100
@@ -67,7 +67,7 @@
int skip;
int flen;
int count, clen;
- char cstr[9];
+ char cstr[10];
last=NULL;
for (group=first_user_group ; group ; group=group->next) {