This commit is contained in:
Roberto Ierusalimschy 2005-03-30 16:50:29 -03:00
parent 092dc95b06
commit 445eda7ead
2 changed files with 4 additions and 5 deletions

View File

@ -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

4
lua.c
View File

@ -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);
}