diff options
| -rw-r--r-- | loadlib.c | 5 | ||||
| -rw-r--r-- | lua.c | 4 |
2 files changed, 4 insertions, 5 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: loadlib.c,v 1.23 2005/03/29 14:30:16 roberto Exp roberto $ | 2 | ** $Id: loadlib.c,v 1.24 2005/03/29 16:20:48 roberto Exp roberto $ |
| 3 | ** Dynamic library loader for Lua | 3 | ** Dynamic library loader for Lua |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | ** | 5 | ** |
| @@ -213,8 +213,7 @@ static lua_CFunction ll_sym (lua_State *L, void *lib, const char *sym) { | |||
| 213 | 213 | ||
| 214 | 214 | ||
| 215 | #if defined(__ELF__) || defined(__sun) || defined(sgi) || defined(__hpux) | 215 | #if defined(__ELF__) || defined(__sun) || defined(sgi) || defined(__hpux) |
| 216 | #define DLMSG "your system was not properly installed, " \ | 216 | #define DLMSG "`loadlib' not enabled; check your Lua installation" |
| 217 | "so it cannot run `loadlib'; check your installation" | ||
| 218 | #else | 217 | #else |
| 219 | #define DLMSG "`loadlib' not supported" | 218 | #define DLMSG "`loadlib' not supported" |
| 220 | #endif | 219 | #endif |
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.c,v 1.138 2005/03/23 17:50:49 roberto Exp roberto $ | 2 | ** $Id: lua.c,v 1.139 2005/03/29 16:47:48 roberto Exp roberto $ |
| 3 | ** Lua stand-alone interpreter | 3 | ** Lua stand-alone interpreter |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -48,7 +48,7 @@ static void print_usage (void) { | |||
| 48 | " -i enter interactive mode after executing `script'\n" | 48 | " -i enter interactive mode after executing `script'\n" |
| 49 | " -l name require library `name'\n" | 49 | " -l name require library `name'\n" |
| 50 | " -v show version information\n" | 50 | " -v show version information\n" |
| 51 | " -w control access to undefined globals\n" | 51 | " -w trap access to undefined globals\n" |
| 52 | " -- stop handling options\n" , | 52 | " -- stop handling options\n" , |
| 53 | progname); | 53 | progname); |
| 54 | } | 54 | } |
