[cig-commits] r11164 - cs/stats/trunk
sue at geodynamics.org
sue at geodynamics.org
Fri Feb 15 13:36:11 PST 2008
Author: sue
Date: 2008-02-15 13:36:11 -0800 (Fri, 15 Feb 2008)
New Revision: 11164
Modified:
cs/stats/trunk/get_all.cxx
Log:
Fix typo and off by one errors in get_all
Modified: cs/stats/trunk/get_all.cxx
===================================================================
--- cs/stats/trunk/get_all.cxx 2008-02-15 21:35:56 UTC (rev 11163)
+++ cs/stats/trunk/get_all.cxx 2008-02-15 21:36:11 UTC (rev 11164)
@@ -131,9 +131,9 @@
packages["SPECFEM1D-1.0.0.tar.gz"]="Specfem1D-1.0.0";
packages["SPECFEM2D-5.2.0.tar.gz"]="Specfem2D-5.2.0";
- packages["SPECFEM2D-5.2.0.tar.gz"]="Specfem2D-5.2.2";
+ packages["SPECFEM2D-5.2.2.tar.gz"]="Specfem2D-5.2.2";
packages["SPECFEM3D-1.4.2.tar.gz"]="Specfem3D-1.4.2";
- packages["SPECFEM3D-1.4.2.tar.gz"]="Specfem3D-1.4.3";
+ packages["SPECFEM3D-1.4.3.tar.gz"]="Specfem3D-1.4.3";
packages["SPECFEM3D_GLOBE-4.0.0.tar.gz"]="Specfem3D-Globe-4.0.0";
const int max_size=100000;
@@ -145,7 +145,7 @@
i("/var/log/apache2");
i!=boost::filesystem::directory_iterator(); ++i)
{
- if(i->leaf().substr(0,6)=="access")
+ if(i->leaf().substr(0,7)=="access.")
logs.push_back(*i);
}
@@ -219,7 +219,7 @@
{
int space=logline.find(' ');
hits[p->first+"_"+*m+"_"+*y]
- .insert(logline.substr(0,space-1));
+ .insert(logline.substr(0,space));
}
}
}
More information about the cig-commits
mailing list