diff options
author | dos-reis <gdr@axiomatics.org> | 2009-05-13 23:57:45 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2009-05-13 23:57:45 +0000 |
commit | 38ca9f9d9e14fcf1e4e0b739cab19118d83ee295 (patch) | |
tree | c0ed8aa0a39caa11e84e444a846f5e599f7519c1 /src/driver | |
parent | 7cd6515fa4babfdbe3484390440ba9dbe772a795 (diff) | |
download | open-axiom-38ca9f9d9e14fcf1e4e0b739cab19118d83ee295.tar.gz |
Fix SF/2790725
* driver/main.c (main): Set locale to nothing.
* hyper/ex2ht.c (main): Likewise.
* hyper/htadd.c (main): Likewise.
* hyper/hthits.c (main): Likewise.
* hyper/hyper.c (main): Likewise.
* hyper/spadbuf.c (main): Likewise.
* clef/edible.c (main): Likewise.
* sman/session.c (main): Likewise.
* sman/sman.c (main): Likewise.
* sman/spadclient.c (main): Likewise.
Diffstat (limited to 'src/driver')
-rw-r--r-- | src/driver/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/driver/main.c b/src/driver/main.c index 4d83853a..dd2a040f 100644 --- a/src/driver/main.c +++ b/src/driver/main.c @@ -41,6 +41,7 @@ #include <string.h> #include <errno.h> #include <stdio.h> +#include <locale.h> #include "utils.h" @@ -75,6 +76,7 @@ main(int argc, char* argv[]) openaxiom_driver driver = openaxiom_preprocess_arguments(&command, argc, argv); + setlocale(LC_ALL, ""); switch (driver) { case openaxiom_null_driver: return 0; /* Bye. */ |