Ticket #217: patch18.patch
File patch18.patch, 514 bytes (added by , 17 years ago) |
---|
-
harness/index_utils.cc
170 170 } 171 171 filename += *file++; 172 172 filename += ".txt"; 173 174 input.clear(); 175 input.open(filename.c_str()); 173 176 174 input.open(filename.c_str()); 175 if (!input) { 177 if ((!input.is_open()) || input.fail()){ 176 178 string msg = "Can't read file '"; 177 179 msg += filename; 178 180 msg += "' for indexing (";