commit 2431534f1061149bf7db7985dd137cd6324056a8
parent fd7d0774e549130e59f716f2397d195cedc1a412
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 26 Jan 1999 09:50:36 -0200
details
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lua.c b/lua.c
@@ -1,5 +1,5 @@
/*
-** $Id: lua.c,v 1.16 1999/01/06 13:12:41 roberto Exp roberto $
+** $Id: lua.c,v 1.17 1999/01/08 16:47:44 roberto Exp roberto $
** Lua stand-alone interpreter
** See Copyright Notice in lua.h
*/
@@ -133,8 +133,8 @@ int main (int argc, char *argv[])
int i;
lua_open();
lua_pushstring("> "); lua_setglobal("_PROMPT");
- lua_userinit();
setlocale(LC_ALL, "");
+ lua_userinit();
if (argc < 2) { /* no arguments? */
if (isatty(0)) {
printf("%s %s\n", LUA_VERSION, LUA_COPYRIGHT);