diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-30 16:50:29 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-03-30 16:50:29 -0300 |
| commit | 445eda7ead2e9800e3928acfd902f61968aaca11 (patch) | |
| tree | 403f94e2936fc7fd37d2507ca5f75946dae199c7 | |
| parent | 092dc95b06ee71f99f134727862a3a0d5783d9e5 (diff) | |
| download | lua-445eda7ead2e9800e3928acfd902f61968aaca11.tar.gz lua-445eda7ead2e9800e3928acfd902f61968aaca11.tar.bz2 lua-445eda7ead2e9800e3928acfd902f61968aaca11.zip | |
details
| -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 | } |
