unbreak sort; from Marcello Morsello <morsello@gmail.com> via Douglas Santos
This commit is contained in:
parent
178d9ae305
commit
990290a561
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.2 2005/10/08 08:13:21 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.3 2005/11/13 17:32:26 pvalchev Exp $
|
||||
|
||||
COMMENT= "Squid Analysis Report Generator"
|
||||
|
||||
DISTNAME= sarg-2.0.9
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://sarg.sourceforge.net/
|
||||
|
19
www/sarg/patches/patch-index_c
Normal file
19
www/sarg/patches/patch-index_c
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: patch-index_c,v 1.1 2005/11/13 17:32:27 pvalchev Exp $
|
||||
--- index.c.orig Thu Aug 4 19:32:44 2005
|
||||
+++ index.c Fri Nov 4 17:06:04 2005
|
||||
@@ -113,11 +113,11 @@ void geraindex()
|
||||
(void)closedir( dirp );
|
||||
|
||||
if(strcmp(IndexSortOrder,"A") == 0)
|
||||
-// sprintf(html,"sort -t';' -k 7,7 %s -o %s", wdir_tmp, wdir_tmp2);
|
||||
- sprintf(html,"sort -t';' +6.5n +6.2M +6.0n '%s' -o '%s'", wdir_tmp, wdir_tmp2);
|
||||
+ sprintf(html,"sort -t';' -k 7,7 %s -o %s", wdir_tmp, wdir_tmp2);
|
||||
+// sprintf(html,"sort -t';' +6.5n +6.2M +6.0n '%s' -o '%s'", wdir_tmp, wdir_tmp2);
|
||||
else
|
||||
-// sprintf(html,"sort -t';' -r -k 7,7 %s -o %s", wdir_tmp, wdir_tmp2);
|
||||
- sprintf(html,"sort -t';' +6.5nr +6.2Mr +6.0nr '%s' -o '%s'", wdir_tmp, wdir_tmp2);
|
||||
+ sprintf(html,"sort -t';' -r -k 7,7 %s -o %s", wdir_tmp, wdir_tmp2);
|
||||
+// sprintf(html,"sort -t';' +6.5nr +6.2Mr +6.0nr '%s' -o '%s'", wdir_tmp, wdir_tmp2);
|
||||
|
||||
system(html);
|
||||
|
Loading…
Reference in New Issue
Block a user