Skip to content

Commit 27883e9

Browse files
committed
Bump verison in cmake
Add more debug messages for railed read on windows
1 parent e350cbe commit 27883e9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ set(PACKAGE_STRING "ePhotosynthesis 1.0.0")
3535

3636
set(PACKAGE_VERSION_MAJOR "1")
3737
set(PACKAGE_VERSION_MINOR "0")
38-
set(PACKAGE_VERSION_PATCH "0")
38+
set(PACKAGE_VERSION_PATCH "1")
3939
set(PACKAGE_VERSION_LABEL "")
4040

4141
if(PACKAGE_VERSION_LABEL)

src/Condition.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ void ePhotosynthesis::readFile(const std::string &filename, std::map<std::string
141141
std::string errmsg = "Could not open " + filename + " for reading";
142142
throw std::runtime_error(errmsg);
143143
}
144-
while (getline(inputfile, input)) {
144+
std::cerr << "BEGIN READING " << filename << std::endl;
145+
while (std::getline(inputfile, input)) {
145146
if (input.empty())
146147
continue;
147148
boost::algorithm::split_regex(tempVec, input, token);
@@ -164,8 +165,9 @@ void ePhotosynthesis::readFile(const std::string &filename, std::map<std::string
164165
std::string errmsg = "Could not open " + filename + " for reading";
165166
throw std::runtime_error(errmsg);
166167
}
168+
std::cerr << "BEGIN READING " << filename << std::endl;
167169
int count = 0;
168-
while (getline(inputfile, input)) {
170+
while (std::getline(inputfile, input)) {
169171
if (input.empty())
170172
continue;
171173
boost::algorithm::split_regex(tempVec, input, token);

0 commit comments

Comments
 (0)