Roberto Ierusalimschy 20 年 前
コミット
445eda7ead
2 ファイル変更4 行追加5 行削除
  1. 2 3
      loadlib.c
  2. 2 2
      lua.c

+ 2 - 3
loadlib.c

@@ -1,5 +1,5 @@
 /*
-** $Id: loadlib.c,v 1.23 2005/03/29 14:30:16 roberto Exp roberto $
+** $Id: loadlib.c,v 1.24 2005/03/29 16:20:48 roberto Exp roberto $
 ** Dynamic library loader for Lua
 ** See Copyright Notice in lua.h
 **
@@ -213,8 +213,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) {
 
 
 #if defined(__ELF__) || defined(__sun) || defined(sgi) || defined(__hpux)
-#define DLMSG		"your system was not properly installed, " \
-                        "so it cannot run `loadlib'; check your installation"
+#define DLMSG "`loadlib' not enabled; check your Lua installation"
 #else
 #define DLMSG		"`loadlib' not supported"
 #endif

+ 2 - 2
lua.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lua.c,v 1.138 2005/03/23 17:50:49 roberto Exp roberto $
+** $Id: lua.c,v 1.139 2005/03/29 16:47:48 roberto Exp roberto $
 ** Lua stand-alone interpreter
 ** See Copyright Notice in lua.h
 */
@@ -48,7 +48,7 @@ static void print_usage (void) {
   "  -i       enter interactive mode after executing `script'\n"
   "  -l name  require library `name'\n"
   "  -v       show version information\n"
-  "  -w	      control access to undefined globals\n"
+  "  -w       trap access to undefined globals\n"
   "  --       stop handling options\n" ,
   progname);
 }