Commit d1520d92 authored by Pierre Ynard's avatar Pierre Ynard Committed by Rémi Duraffort

Spelling

(cherry picked from commit 8e6a4513)
Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
parent 0ddebdcf
......@@ -1573,13 +1573,13 @@ AS_IF([test "x${enable_debug}" = "xno"], [
])
dnl
dnl Allow runing as root (useful for people runing on embedded platforms)
dnl Allow running as root (useful for people running on embedded platforms)
dnl
AC_ARG_ENABLE(run-as-root,
[ --enable-run-as-root allow runing VLC as root (default disabled)])
[ --enable-run-as-root allow running VLC as root (default disabled)])
AS_IF([test "${enable_run_as_root}" = "yes"],[
AC_DEFINE(ALLOW_RUN_AS_ROOT, 1,
[Define to 1 to allow runing VLC as root (uid 0).])
[Define to 1 to allow running VLC as root (uid 0).])
])
dnl
......
......@@ -169,14 +169,14 @@ static int probe_luascript( vlc_object_t *p_this, const char * psz_filename,
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_demux, "Error while runing script %s, "
msg_Warn( p_demux, "Error while running script %s, "
"function probe() not found", psz_filename );
goto error;
}
if( lua_pcall( L, 0, 1, 0 ) )
{
msg_Warn( p_demux, "Error while runing script %s, "
msg_Warn( p_demux, "Error while running script %s, "
"function probe(): %s", psz_filename,
lua_tostring( L, lua_gettop( L ) ) );
goto error;
......@@ -255,7 +255,7 @@ static int Demux( demux_t *p_demux )
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_demux, "Error while runing script %s, "
msg_Warn( p_demux, "Error while running script %s, "
"function parse() not found", psz_filename );
vlc_object_release( p_input_thread );
return VLC_EGENERIC;
......@@ -263,7 +263,7 @@ static int Demux( demux_t *p_demux )
if( lua_pcall( L, 0, 1, 0 ) )
{
msg_Warn( p_demux, "Error while runing script %s, "
msg_Warn( p_demux, "Error while running script %s, "
"function parse(): %s", psz_filename,
lua_tostring( L, lua_gettop( L ) ) );
vlc_object_release( p_input_thread );
......
......@@ -266,14 +266,14 @@ int ScanLuaCallback( vlc_object_t *p_this, const char *psz_script,
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function descriptor() not found", psz_script );
goto exit;
}
if( lua_pcall( L, 0, 1, 0 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function descriptor(): %s", psz_script,
lua_tostring( L, lua_gettop( L ) ) );
goto exit;
......@@ -656,14 +656,14 @@ static int GetMenuEntries( extensions_manager_t *p_mgr, extension_t *p_ext,
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function menu() not found", p_ext->psz_name );
goto exit;
}
if( lua_pcall( L, 0, 1, 0 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function menu(): %s", p_ext->psz_name,
lua_tostring( L, lua_gettop( L ) ) );
goto exit;
......@@ -828,7 +828,7 @@ int lua_ExecuteFunctionVa( extensions_manager_t *p_mgr, extension_t *p_ext,
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function %s() not found", p_ext->psz_name, psz_function );
goto exit;
}
......@@ -854,7 +854,7 @@ int lua_ExecuteFunctionVa( extensions_manager_t *p_mgr, extension_t *p_ext,
}
if( lua_pcall( L, i_args, 1, 0 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function %s(): %s", p_ext->psz_name, psz_function,
lua_tostring( L, lua_gettop( L ) ) );
goto exit;
......@@ -885,7 +885,7 @@ int lua_ExtensionTriggerMenu( extensions_manager_t *p_mgr,
lua_getglobal( L, "trigger_menu" );
if( !lua_isfunction( L, -1 ) )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function trigger_menu() not found", p_ext->psz_name );
return VLC_EGENERIC;
}
......@@ -895,7 +895,7 @@ int lua_ExtensionTriggerMenu( extensions_manager_t *p_mgr,
if( lua_pcall( L, 1, 1, 0 ) != 0 )
{
msg_Warn( p_mgr, "Error while runing script %s, "
msg_Warn( p_mgr, "Error while running script %s, "
"function trigger_menu(): %s", p_ext->psz_name,
lua_tostring( L, lua_gettop( L ) ) );
return VLC_EGENERIC;
......
......@@ -145,7 +145,7 @@ static int vlclua_httpd_handler_callback(
/* function data err */
vlc_object_t *p_this = vlclua_get_this( L );
const char *psz_err = lua_tostring( L, -1 );
msg_Err( p_this, "Error while runing the lua HTTPd handler "
msg_Err( p_this, "Error while running the lua HTTPd handler "
"callback: %s", psz_err );
lua_settop( L, 2 );
/* function data */
......@@ -237,7 +237,7 @@ static int vlclua_httpd_file_callback(
/* function data err */
vlc_object_t *p_this = vlclua_get_this( L );
const char *psz_err = lua_tostring( L, -1 );
msg_Err( p_this, "Error while runing the lua HTTPd file callback: %s",
msg_Err( p_this, "Error while running the lua HTTPd file callback: %s",
psz_err );
lua_settop( L, 2 );
/* function data */
......
......@@ -320,7 +320,7 @@ static int vlclua_callback( vlc_object_t *p_this, char const *psz_var,
{
/* errormessage */
const char *psz_err = lua_tostring( L, -1 );
msg_Err( p_this, "Error while runing lua interface callback: %s",
msg_Err( p_this, "Error while running lua interface callback: %s",
psz_err );
/* empty the stack (should only contain the error message) */
lua_settop( L, 0 );
......
......@@ -111,14 +111,14 @@ static int run( vlc_object_t *p_this, const char * psz_filename,
if( !lua_isfunction( L, lua_gettop( L ) ) )
{
msg_Warn( p_this, "Error while runing script %s, "
msg_Warn( p_this, "Error while running script %s, "
"function %s() not found", psz_filename, luafunction );
goto error;
}
if( lua_pcall( L, 0, 1, 0 ) )
{
msg_Warn( p_this, "Error while runing script %s, "
msg_Warn( p_this, "Error while running script %s, "
"function %s(): %s", psz_filename, luafunction,
lua_tostring( L, lua_gettop( L ) ) );
goto error;
......
......@@ -164,7 +164,7 @@ static void* Run( void *data )
lua_getglobal( L, "main" );
if( !lua_isfunction( L, lua_gettop( L ) ) || lua_pcall( L, 0, 1, 0 ) )
{
msg_Err( p_sd, "Error while runing script %s, "
msg_Err( p_sd, "Error while running script %s, "
"function main(): %s", p_sys->psz_filename,
lua_tostring( L, lua_gettop( L ) ) );
lua_pop( L, 1 );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment