summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-03 05:31:38 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-03 05:31:38 +0000
commit76f428940c3a60dafac5567bad44a4f41e0565a6 (patch)
tree087050baeab0d7742120270b3fef7565dafdb85b
parent794df84e122f73d381f8873a59d9315d9c682d52 (diff)
downloaddrakx-backup-do-not-use-76f428940c3a60dafac5567bad44a4f41e0565a6.tar
drakx-backup-do-not-use-76f428940c3a60dafac5567bad44a4f41e0565a6.tar.gz
drakx-backup-do-not-use-76f428940c3a60dafac5567bad44a4f41e0565a6.tar.bz2
drakx-backup-do-not-use-76f428940c3a60dafac5567bad44a4f41e0565a6.tar.xz
drakx-backup-do-not-use-76f428940c3a60dafac5567bad44a4f41e0565a6.zip
don't let slang call setlocale(), we do it ourselves
-rw-r--r--perl-install/Newt/Newt.xs4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/Newt/Newt.xs b/perl-install/Newt/Newt.xs
index e4ad81d62..fee23d388 100644
--- a/perl-install/Newt/Newt.xs
+++ b/perl-install/Newt/Newt.xs
@@ -2,6 +2,7 @@
#include "perl.h"
#include "XSUB.h"
#include <newt.h>
+#include <slang/slang.h>
static void suspend() {
newtSuspend();
@@ -31,6 +32,9 @@ DESTROY()
int
newtInit()
+ CODE:
+ SLsmg_Setlocale = 0;
+ newtInit();
int
newtFinished()