diff options
Diffstat (limited to 'lua.c')
| -rw-r--r-- | lua.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -497,7 +497,7 @@ static void lua_freeline (char *line) { | |||
| 497 | static void lua_initreadline (lua_State *L) { | 497 | static void lua_initreadline (lua_State *L) { |
| 498 | void *lib = dlopen(LUA_READLINELIB, RTLD_NOW | RTLD_LOCAL); | 498 | void *lib = dlopen(LUA_READLINELIB, RTLD_NOW | RTLD_LOCAL); |
| 499 | if (lib == NULL) | 499 | if (lib == NULL) |
| 500 | lua_warning(L, "library '" LUA_READLINELIB "'not found", 0); | 500 | lua_warning(L, "library '" LUA_READLINELIB "' not found", 0); |
| 501 | else { | 501 | else { |
| 502 | const char **name = cast(const char**, dlsym(lib, "rl_readline_name")); | 502 | const char **name = cast(const char**, dlsym(lib, "rl_readline_name")); |
| 503 | if (name != NULL) | 503 | if (name != NULL) |
