Skip to content
Snippets Groups Projects
Commit c40cca77 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

filenames without length-restrictions in MacroReader

parent d66e61b8
No related branches found
No related tags found
No related merge requests found
...@@ -150,8 +150,8 @@ namespace AMDiS { ...@@ -150,8 +150,8 @@ namespace AMDiS {
DimVec<int> *ind = NULL; DimVec<int> *ind = NULL;
TEST_EXIT(filename != "")("No filename specified!\n"); TEST_EXIT(filename != "")("No filename specified!\n");
TEST_EXIT(filename.length() < static_cast<unsigned int>(127)) // TEST_EXIT(filename.length() < static_cast<unsigned int>(127))
("can only handle filenames up to 127 characters\n"); // ("can only handle filenames up to 127 characters\n");
FILE *file = fopen(filename.c_str(), "r"); FILE *file = fopen(filename.c_str(), "r");
TEST_EXIT(file)("cannot open file %s\n", filename.c_str()); TEST_EXIT(file)("cannot open file %s\n", filename.c_str());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment