# | Line 30 | Line 30 | GNU General Public License for more details. | |
---|---|---|
30 | */ | |
31 | ||
32 | #include "config.h" | |
33 | + | #include <cstdlib> |
34 | #include <string> | |
35 | #include <fstream> | |
36 | #include "utils/ElementsTable.hpp" | |
37 | #include "utils/simError.h" | |
38 | + | #include "io/basic_ifstrstream.hpp" |
39 | ||
40 | #if !HAVE_STRNCASECMP | |
41 | extern "C" int strncasecmp(const char *s1, const char *s2, size_t n); | |
# | Line 284 | Line 286 | namespace oopse { | |
286 | init_ = true; | |
287 | ||
288 | std::string buffer, subbuffer; | |
289 | < | std::ifstream ifs1, ifs2, ifs3, ifs4, *ifsP; |
289 | > | ifstrstream ifs1, ifs2, ifs3, ifs4, *ifsP; |
290 | // First, look for an environment variable | |
291 | if (getenv(envvar_.c_str()) != NULL) { | |
292 | buffer = getenv(envvar_.c_str()); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |