From c40cca77e7c6e3a77d3938fcc1c376a63feee8a5 Mon Sep 17 00:00:00 2001 From: Simon Praetorius <simon.praetorius@tu-dresden.de> Date: Thu, 21 Jul 2011 13:13:31 +0000 Subject: [PATCH] filenames without length-restrictions in MacroReader --- AMDiS/src/io/MacroInfo.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AMDiS/src/io/MacroInfo.cc b/AMDiS/src/io/MacroInfo.cc index 520bfc77..f69daace 100644 --- a/AMDiS/src/io/MacroInfo.cc +++ b/AMDiS/src/io/MacroInfo.cc @@ -150,8 +150,8 @@ namespace AMDiS { DimVec<int> *ind = NULL; TEST_EXIT(filename != "")("No filename specified!\n"); - TEST_EXIT(filename.length() < static_cast<unsigned int>(127)) - ("can only handle filenames up to 127 characters\n"); +// TEST_EXIT(filename.length() < static_cast<unsigned int>(127)) +// ("can only handle filenames up to 127 characters\n"); FILE *file = fopen(filename.c_str(), "r"); TEST_EXIT(file)("cannot open file %s\n", filename.c_str()); -- GitLab