1
1

Fix an array over flow, detected by compiling with C++ compilers. This fix is mainly for Windows build.

This commit was SVN r20744.
Этот коммит содержится в:
Shiqing Fan 2009-03-06 13:27:38 +00:00
родитель a8002c0f04
Коммит a8cb7d2ab1

Просмотреть файл

@ -760,7 +760,7 @@ static int pretty_print_vpids(orte_job_t *job) {
}
static void pretty_print_dashed_line(int len) {
static const char dashes[8] = "--------";
static const char dashes[9] = "--------";
while (len >= 8) {
printf("%8.8s", dashes);