diff options
Diffstat (limited to 'net-analyzer/sarg/files/sarg-2.3.10-format.patch')
-rw-r--r-- | net-analyzer/sarg/files/sarg-2.3.10-format.patch | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/net-analyzer/sarg/files/sarg-2.3.10-format.patch b/net-analyzer/sarg/files/sarg-2.3.10-format.patch deleted file mode 100644 index 926fdc8c6725..000000000000 --- a/net-analyzer/sarg/files/sarg-2.3.10-format.patch +++ /dev/null @@ -1,77 +0,0 @@ ---- a/report.c -+++ b/report.c -@@ -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]; ---- a/util.c -+++ b/util.c -@@ -671,10 +671,10 @@ - char *buildtime(long long int elap) - { - int num = elap / 1000; -- int hor = 0; -- int min = 0; -- int sec = 0; -- static char buf[12]; -+ short int hor = 0; -+ short int min = 0; -+ short int sec = 0; -+ static char buf[15]; - - buf[0]='\0'; - -@@ -1236,10 +1236,10 @@ - char *fixtime(long long int elap) - { - int num = elap / 1000; -- int hor = 0; -- int min = 0; -- int sec = 0; -- static char buf[12]; -+ short int hor = 0; -+ short int min = 0; -+ short int sec = 0; -+ static char buf[15]; - - hor=num / 3600; - min=(num % 3600) / 60; -@@ -1248,7 +1248,7 @@ - if(hor==0 && min==0 && sec==0) - strcpy(buf,"0"); - else -- sprintf(buf,"%d:%02d:%02d",hor,min,sec); -+ sprintf(buf,"%02d:%02d:%02d",hor,min,sec); - - return buf; - } ---- a/index.c -+++ b/index.c -@@ -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; ---- a/userinfo.c -+++ b/userinfo.c -@@ -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) { |