From f7097d34c82070ef9f0afed17a521bb867737d73 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Thu, 2 Feb 2006 05:50:15 +0000 Subject: [PATCH] Remove some \n typos. Thanks to Glenn Morris for finding these. This commit was SVN r8878. --- NEWS | 2 ++ orte/mca/pls/rsh/pls_rsh_module.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 0b4d67219d..60b768953f 100644 --- a/NEWS +++ b/NEWS @@ -29,6 +29,8 @@ version 1.0. 1.0.2 ----- +- Removed extraneous \n's when setting PATH and LD_LIBRARY_PATH in the + rsh startup. Thanks to Glen Morris for finding these typos. - Fixed missing constants in MPI C++ bindings. - Fixed some errors caused by threading issues. - Fixed openib BTL flow control logic to not overrun the number of diff --git a/orte/mca/pls/rsh/pls_rsh_module.c b/orte/mca/pls/rsh/pls_rsh_module.c index f9c75c747a..37a6b1a438 100644 --- a/orte/mca/pls/rsh/pls_rsh_module.c +++ b/orte/mca/pls/rsh/pls_rsh_module.c @@ -748,7 +748,7 @@ int orte_pls_rsh_launch(orte_jobid_t jobid) /* Reset PATH */ oldenv = getenv("PATH"); if (NULL != oldenv) { - asprintf(&newenv, "%s/bin:%s\n", prefix_dir, oldenv); + asprintf(&newenv, "%s/bin:%s", prefix_dir, oldenv); } else { asprintf(&newenv, "%s/bin", prefix_dir); } @@ -761,7 +761,7 @@ int orte_pls_rsh_launch(orte_jobid_t jobid) /* Reset LD_LIBRARY_PATH */ oldenv = getenv("LD_LIBRARY_PATH"); if (NULL != oldenv) { - asprintf(&newenv, "%s/lib:%s\n", prefix_dir, oldenv); + asprintf(&newenv, "%s/lib:%s", prefix_dir, oldenv); } else { asprintf(&newenv, "%s/lib", prefix_dir); }