* [gentoo-commits] gentoo-x86 commit in net-analyzer/sarg/files: sarg-2.3.8-long-long-int.patch
@ 2014-04-01 11:48 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2014-04-01 11:48 UTC (permalink / raw
To: gentoo-commits
jer 14/04/01 11:48:37
Added: sarg-2.3.8-long-long-int.patch
Log:
Version bump (bug #506334 by Nikoli).
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Revision Changes Path
1.1 net-analyzer/sarg/files/sarg-2.3.8-long-long-int.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/files/sarg-2.3.8-long-long-int.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/sarg/files/sarg-2.3.8-long-long-int.patch?rev=1.1&content-type=text/plain
Index: sarg-2.3.8-long-long-int.patch
===================================================================
log.c:128: nbytes is defined as a long long int
--- a/log.c
+++ b/log.c
@@ -1503,14 +1503,14 @@
}
}
- if (fprintf(ufile->file, "%s\t%s\t%s\t%s\t%"PRIi64"\t%s\t%ld\t%s\n",dia,hora,ip,url,nbytes,code,elap_time,smartfilter)<=0) {
+ if (fprintf(ufile->file, "%s\t%s\t%s\t%s\t%lld\t%s\t%ld\t%s\n",dia,hora,ip,url,nbytes,code,elap_time,smartfilter)<=0) {
debuga(_("Write error in the log file of user %s\n"),user);
exit(EXIT_FAILURE);
}
records_kept++;
if(fp_log && ilf!=ILF_Sarg)
- fprintf(fp_log, "%s\t%s\t%s\t%s\t%s\t%"PRIi64"\t%s\t%ld\t%s\n",dia,hora,user,ip,url,nbytes,code,elap_time,smartfilter);
+ fprintf(fp_log, "%s\t%s\t%s\t%s\t%s\t%lld\t%s\t%ld\t%s\n",dia,hora,user,ip,url,nbytes,code,elap_time,smartfilter);
totregsg++;
@@ -1561,7 +1561,7 @@
printf("FUNC=\t%s\n",fun);
printf("URL=\t%s\n",url);
printf("CODE=\t%s\n",code);
- printf("LEN=\t%"PRIi64"\n",nbytes);
+ printf("LEN=\t%lld\n",nbytes);
}
}
if (!from_stdin) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in net-analyzer/sarg/files: sarg-2.3.8-long-long-int.patch
@ 2015-08-05 6:33 Jeroen Roovers (jer)
0 siblings, 0 replies; 2+ messages in thread
From: Jeroen Roovers (jer) @ 2015-08-05 6:33 UTC (permalink / raw
To: gentoo-commits
jer 15/08/05 06:33:23
Removed: sarg-2.3.8-long-long-int.patch
Log:
Old.
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key A792A613)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-05 6:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-01 11:48 [gentoo-commits] gentoo-x86 commit in net-analyzer/sarg/files: sarg-2.3.8-long-long-int.patch Jeroen Roovers (jer)
-- strict thread matches above, loose matches on Subject: below --
2015-08-05 6:33 Jeroen Roovers (jer)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox