diff options
author | alfredoport <doyenatccny@gmail.com> | 2008-10-24 22:25:33 +0000 |
---|---|---|
committer | alfredoport <doyenatccny@gmail.com> | 2008-10-24 22:25:33 +0000 |
commit | ca39f5ae7631e3bedf6114f7ebe7dfa2a8579f76 (patch) | |
tree | 41d84a37ba3c456cf2f005cfb392d1da1c2df443 /src/graph/viewAlone | |
parent | 3d4576ed847bfd84b3befaf7c5ae7ee62905ab2a (diff) | |
download | open-axiom-ca39f5ae7631e3bedf6114f7ebe7dfa2a8579f76.tar.gz |
Use oa_getenv function.
Diffstat (limited to 'src/graph/viewAlone')
-rw-r--r-- | src/graph/viewAlone/spoon2D.c | 2 | ||||
-rw-r--r-- | src/graph/viewAlone/spoonComp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graph/viewAlone/spoon2D.c b/src/graph/viewAlone/spoon2D.c index c50e4ba3..9ad458d8 100644 --- a/src/graph/viewAlone/spoon2D.c +++ b/src/graph/viewAlone/spoon2D.c @@ -81,7 +81,7 @@ spoonView2D(void) close(pipe1[1]); printf("(spoon2D child) start the TwoDimensionalViewport process\n"); sprintf(errorStr,"%s","(viewAlone) execution of the TwoDimensionalViewport process"); - sprintf(envAXIOM,"%s",getenv("AXIOM")); + sprintf(envAXIOM,"%s",oa_getenv("AXIOM")); sprintf(runView,"%s%s",envAXIOM,"/lib/view2D"); check(execl(runView,runView,NULL)); fprintf(stderr,"Could not execute view2D! Check that view2D is on your path variable.\n"); diff --git a/src/graph/viewAlone/spoonComp.c b/src/graph/viewAlone/spoonComp.c index 92902443..3c828a44 100644 --- a/src/graph/viewAlone/spoonComp.c +++ b/src/graph/viewAlone/spoonComp.c @@ -83,7 +83,7 @@ spoonView3D(int type) sprintf(errorStr,"%s", "(viewAlone) execution of the ThreeDimensionalViewport process"); - sprintf(envAXIOM,"%s",getenv("AXIOM")); + sprintf(envAXIOM,"%s",oa_getenv("AXIOM")); sprintf(runView,"%s%s",envAXIOM,"/lib/view3D"); check(execl(runView,runView,NULL)); fprintf(stderr,"Could not execute view3D!\n"); |