[mpich2-commits] r3994 - mpich2/trunk/src/pm/hydra/utils/env

balaji at mcs.anl.gov balaji at mcs.anl.gov
Mon Mar 9 23:36:20 CDT 2009


Author: balaji
Date: 2009-03-09 23:36:20 -0500 (Mon, 09 Mar 2009)
New Revision: 3994

Modified:
   mpich2/trunk/src/pm/hydra/utils/env/env.c
Log:
Use MPIU_PutEnv instead of putenv directly, though that's what is
eventually called. This will help us improve it in the future from
one location.


Modified: mpich2/trunk/src/pm/hydra/utils/env/env.c
===================================================================
--- mpich2/trunk/src/pm/hydra/utils/env/env.c	2009-03-10 04:30:38 UTC (rev 3993)
+++ mpich2/trunk/src/pm/hydra/utils/env/env.c	2009-03-10 04:36:20 UTC (rev 3994)
@@ -277,7 +277,7 @@
     tmp[i++] = NULL;
     HYDU_STR_ALLOC_AND_JOIN(tmp, env_str, status);
 
-    putenv(env_str);
+    MPIU_PutEnv(env_str);
 
   fn_exit:
     HYDU_FUNC_EXIT();



More information about the mpich2-commits mailing list