From 996f813a2acacbae7f43f389d05f5c91f107d21c Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Mon, 28 Feb 2005 17:39:17 +0000 Subject: [PATCH] Use a portable macro This commit was SVN r4572. --- src/communicator/comm_dyn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/communicator/comm_dyn.c b/src/communicator/comm_dyn.c index 2fa830b320..c0966ef8ee 100644 --- a/src/communicator/comm_dyn.c +++ b/src/communicator/comm_dyn.c @@ -407,7 +407,7 @@ ompi_comm_start_processes(int count, char **array_of_commands, /* default value: If the user did not tell us where to look for the executable, we assume the current working directory */ if ( !have_wdir ) { - getcwd(cwd, MAXPATHLEN); + getcwd(cwd, OMPI_PATH_MAX); sched->cwd = strdup(cwd); } sched->nodelist = nodelists[i];