diff options
Diffstat (limited to 'src/sman/spadclient.c')
-rw-r--r-- | src/sman/spadclient.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sman/spadclient.c b/src/sman/spadclient.c index dd1d6722..8d23e1d4 100644 --- a/src/sman/spadclient.c +++ b/src/sman/spadclient.c @@ -63,7 +63,8 @@ inter_handler(int sig) int main(void) { - putenv("LC_ALL=C"); + using namespace OpenAxiom; + oa_setenv("LC_ALL", "C"); setlocale(LC_ALL, ""); sock = connect_to_local_server(SessionServer, InterpWindow, Forever); bsdSignal(SIGINT, inter_handler,RestartSystemCalls); |