From 3fdab3981b92f9f76beef9c22ef55f9d537fdfd4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 24 Jun 1999 16:42:02 -0300 Subject: no more automatic setlocale. --- lua.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/lua.c b/lua.c index a7ba2a42..88436627 100644 --- a/lua.c +++ b/lua.c @@ -1,5 +1,5 @@ /* -** $Id: lua.c,v 1.18 1999/01/26 11:50:58 roberto Exp roberto $ +** $Id: lua.c,v 1.19 1999/02/04 17:47:59 roberto Exp roberto $ ** Lua stand-alone interpreter ** See Copyright Notice in lua.h */ @@ -15,12 +15,6 @@ #include "lualib.h" -#ifndef OLD_ANSI -#include -#else -#define setlocale(a,b) 0 -#endif - #ifdef _POSIX_SOURCE #include #else @@ -131,7 +125,6 @@ int main (int argc, char *argv[]) int i; lua_open(); lua_pushstring("> "); lua_setglobal("_PROMPT"); - setlocale(LC_ALL, ""); lua_userinit(); if (argc < 2) { /* no arguments? */ if (isatty(0)) { -- cgit v1.2.3-55-g6feb