Update of /cvsroot/compbench/CompBenchmarks++/System
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv14462
Modified Files:
System.cpp System.h
Log Message:
System specific material directory added (used by Cygwin release only, for now).
Index: System.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/System/System.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** System.cpp 20 Sep 2006 10:48:43 -0000 1.5
--- System.cpp 25 Sep 2006 15:54:25 -0000 1.6
***************
*** 262,265 ****
--- 262,283 ----
}
break;
+ case System:
+ result=DATAROOTDIR;
+ result+="/";
+ result+=PACKAGE;
+ result+="/";
+ result+=VERSION;
+ result+="/";
+ result+="system";
+ if (!checkDirectory(result)) {
+ result=getenv("PWD");
+ result+="/share/system/";
+ #ifdef CBM_SYSTEM_CYGWIN
+ result+="cygwin";
+ #else
+ result="";
+ #endif
+ }
+ break;
default:
UI->Fatal("Internal : Bad 'where' parameters in CBMSystem::temporaryDirectory();");
Index: System.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/System/System.h,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** System.h 24 Sep 2006 16:30:43 -0000 1.8
--- System.h 25 Sep 2006 15:54:25 -0000 1.9
***************
*** 28,31 ****
--- 28,32 ----
Extract, /*!< Archive extraction temporary directory */
Patches, /*!< Directory holding patches */
+ System, /*!< System specific material */
Download, /*!< Downloads temporary directory */
Status, /*!< Directory holding status of packages and
|