aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/ex2ht.c
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2009-05-13 23:57:45 +0000
committerdos-reis <gdr@axiomatics.org>2009-05-13 23:57:45 +0000
commit38ca9f9d9e14fcf1e4e0b739cab19118d83ee295 (patch)
treec0ed8aa0a39caa11e84e444a846f5e599f7519c1 /src/hyper/ex2ht.c
parent7cd6515fa4babfdbe3484390440ba9dbe772a795 (diff)
downloadopen-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/hyper/ex2ht.c')
-rw-r--r--src/hyper/ex2ht.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hyper/ex2ht.c b/src/hyper/ex2ht.c
index b59e505e..fb667e3e 100644
--- a/src/hyper/ex2ht.c
+++ b/src/hyper/ex2ht.c
@@ -46,6 +46,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>
+#include <locale.h>
#include "cfuns.h"
@@ -266,6 +267,7 @@ main(int argc, char **argv)
{
int i;
+ setlocale(LC_ALL, "");
if (argc == 1) {
fprintf(stderr, "usage: %s exfile.ht ...\n", argv[0]);
return (-1);