1 |
pva 08/03/03 16:25:06 |
2 |
|
3 |
Added: sarg-2.2.3.1-rewind.patch |
4 |
Removed: sarg-2.1-datafile.patch sarg-2.1-sort-options.patch |
5 |
sarg-2.1-laslog.patch |
6 |
Log: |
7 |
Version bump, fixes security issue, bug #212208. |
8 |
(Portage version: 2.1.4.4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 net-analyzer/sarg/files/sarg-2.2.3.1-rewind.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/files/sarg-2.2.3.1-rewind.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/sarg/files/sarg-2.2.3.1-rewind.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: sarg-2.2.3.1-rewind.patch |
17 |
=================================================================== |
18 |
diff -Naur sarg-2.2.2/log.c sarg-2.2.2-new/log.c |
19 |
--- sarg-2.2.2/log.c 2006-08-29 15:09:32.000000000 +0400 |
20 |
+++ sarg-2.2.2-new/log.c 2006-09-06 13:37:50.000000000 +0400 |
21 |
@@ -733,7 +733,7 @@ |
22 |
getword(val3,arqtt,'_'); |
23 |
sprintf(period,"%s-%s",val2,val3); |
24 |
sarglog=1; |
25 |
- } else lseek(fileno(fp_in), 0, 0); |
26 |
+ } else rewind(fp_in); |
27 |
|
28 |
if(strcmp(ParsedOutputLog, "no") != 0 && !sarglog) { |
29 |
if(access(ParsedOutputLog,R_OK) != 0) { |
30 |
|
31 |
|
32 |
|
33 |
-- |
34 |
gentoo-commits@l.g.o mailing list |