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