Update of /cvsroot/compbench/CompBenchmarks++
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv638
Modified Files:
cloptions.cpp
Log Message:
Explicit message when downloading a package that is not known to be accessible anymore on Internet.
Index: cloptions.cpp
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/cloptions.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** cloptions.cpp 1 Nov 2006 13:22:39 -0000 1.10
--- cloptions.cpp 23 Nov 2006 16:40:49 -0000 1.11
***************
*** 196,201 ****
case 'D':
B=cbmOptionsExpectBenchmark(optarg);
! if (B)
! parseExitValue=!B->Download();
break;
case 'E':
--- 196,206 ----
case 'D':
B=cbmOptionsExpectBenchmark(optarg);
! if (B) {
! if (B->downloadURL()!="") {
! parseExitValue=!B->Download();
! } else {
! UI->Fatal("Package is not known to be hosted anymore on the Internet. Use --fetch option");
! }
! }
break;
case 'E':
|