From 3a4195e4293dce547f9fd671063d9b65ca14cc56 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Mon, 1 Apr 2013 01:53:29 +0000 Subject: More C cleanups --- src/hyper/ex2ht.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/hyper/ex2ht.c') diff --git a/src/hyper/ex2ht.c b/src/hyper/ex2ht.c index bbb1db14..3637776a 100644 --- a/src/hyper/ex2ht.c +++ b/src/hyper/ex2ht.c @@ -267,9 +267,10 @@ exToHt(const char* filename) int main(int argc, char **argv) { + using namespace OpenAxiom; int i; - putenv("LC_ALL=C"); + oa_setenv("LC_ALL", "C"); setlocale(LC_ALL, ""); if (argc == 1) { fprintf(stderr, "usage: %s exfile.ht ...\n", argv[0]); -- cgit v1.2.3