From 91b0d53f8835bd274997eddb28b74ebc5ef00340 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 17 Feb 2019 15:07:24 +0100 Subject: filenames can exceed 128 bytes, even in testcases --- src/datastore/perf_plugin_datastore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/datastore/perf_plugin_datastore.c') diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c index 9ba8fa1b0..f68d1f389 100644 --- a/src/datastore/perf_plugin_datastore.c +++ b/src/datastore/perf_plugin_datastore.c @@ -11,7 +11,7 @@ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see . @@ -519,8 +519,8 @@ run (void *cls, char *const *args, const char *cfgfile, int main (int argc, char *argv[]) { - char dir_name[128]; - char cfg_name[128]; + char dir_name[PATH_MAX]; + char cfg_name[PATH_MAX]; char *const xargv[] = { "perf-plugin-datastore", "-c", -- cgit v1.2.3