Sfoglia il codice sorgente

src/common.fxt.c: use smaller buffer for STARPU_FXT_SUFFIX to avoid overloading _starpu_prof_file_user

Nathalie Furmento 4 anni fa
parent
commit
3aaeaa00c4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/common/fxt.c

+ 1 - 1
src/common/fxt.c

@@ -99,7 +99,7 @@ static void _starpu_profile_set_tracefile(void)
 	else
 		_starpu_mkpath_and_check(fxt_prefix, S_IRWXU);
 
-	char suffix[127];
+	char suffix[64];
 	char *fxt_suffix = starpu_getenv("STARPU_FXT_SUFFIX");
 	if (!fxt_suffix)
 	{