aboutsummaryrefslogtreecommitdiff
path: root/src/driver
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2013-04-02 07:09:10 +0000
committerdos-reis <gdr@axiomatics.org>2013-04-02 07:09:10 +0000
commitf3d23bbfe2ee955897e9b14619845f4f8357f66c (patch)
treea2711ea62a56f62b6c586802a52999b27048d191 /src/driver
parent09b19b15dec3f28b8c4a5610c28bbb03b77d849d (diff)
downloadopen-axiom-f3d23bbfe2ee955897e9b14619845f4f8357f66c.tar.gz
Use oa_setenv
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/driver/main.cc b/src/driver/main.cc
index e5943aa5..b08027a7 100644
--- a/src/driver/main.cc
+++ b/src/driver/main.cc
@@ -137,7 +137,7 @@ main(int argc, char* argv[])
case translator_driver:
case linker_driver:
case gui_driver:
- putenv("LC_ALL=C");
+ oa_setenv("LC_ALL", "C");
setlocale(LC_ALL, "");
return execute_core(&command, driver);
@@ -156,7 +156,7 @@ main(int argc, char* argv[])
/* Should not happen on MS platforms. */
abort();
#else /* __WIN32__ */
- execv(make_path_for(command.root_dir, sman_driver), argv);
+ execv(make_path_for(command.root_dir, driver), argv);
perror(strerror(errno));
return -1;
#endif /* __WIN32__ */