Added a warning message if the file is not found.

This commit is contained in:
curt
2002-03-11 21:47:09 +00:00
parent a3186af099
commit 7fa5dd7a35
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -320,8 +320,8 @@ bool SGBinObject::read_bin( const string& file ) {
if ( (fp = gzopen( file.c_str(), "rb" )) == NULL ) {
string filegz = file + ".gz";
if ( (fp = gzopen( filegz.c_str(), "rb" )) == NULL ) {
// cout << "ERROR: opening " << file << " or " << filegz
// << "for reading!" << endl;
cout << "ERROR: opening " << file << " or " << filegz
<< "for reading!" << endl;
return false;
}