aboutsummaryrefslogtreecommitdiff
path: root/src/hyper/hyper.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/hyper.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/hyper.c')
-rw-r--r--src/hyper/hyper.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/hyper/hyper.c b/src/hyper/hyper.c
index b6315932..94ce1ab5 100644
--- a/src/hyper/hyper.c
+++ b/src/hyper/hyper.c
@@ -1,7 +1,7 @@
/*
Copyright (C) 1991-2002, The Numerical Algorithms Group Ltd.
All rights reserved.
- Copyright (C) 2007-2008, Gabriel Dos Reis.
+ Copyright (C) 2007-2009, Gabriel Dos Reis.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -56,6 +56,7 @@
#include <sys/wait.h>
#include <setjmp.h>
#include <X11/cursorfont.h>
+#include <locale.h>
#include "keyin.h"
#include "initx.h"
@@ -194,6 +195,7 @@ main(int argc, char **argv)
/* Initialize some global values */
/* fprintf(stderr,"hyper:main:entered\n");*/
+ setlocale(LC_ALL, "");
gArgc = argc;
gArgv = argv;
gIsEndOfOutput = 1;