forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10823 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
8b662e5d95
commit
6203761e12
|
@ -746,7 +746,7 @@ void cvm::exit (std::string const &message)
|
||||||
|
|
||||||
void cvm::read_index_file (char const *filename)
|
void cvm::read_index_file (char const *filename)
|
||||||
{
|
{
|
||||||
std::ifstream is (filename);
|
std::ifstream is (filename, std::ios::binary);
|
||||||
if (!is.good())
|
if (!is.good())
|
||||||
fatal_error ("Error: in opening index file \""+
|
fatal_error ("Error: in opening index file \""+
|
||||||
std::string (filename)+"\".\n");
|
std::string (filename)+"\".\n");
|
||||||
|
|
Loading…
Reference in New Issue