Merge xiphis.org:/anubis/antony/work/bug33358.2

into  xiphis.org:/anubis/antony/work/bug33358.2-merge-5.1
This commit is contained in:
acurtis/antony@ltamd64.xiphis.org 2008-01-26 02:16:29 -08:00
commit e70f8dc417
2 changed files with 3 additions and 4 deletions

View file

@ -1,3 +1,3 @@
$EXAMPLE_PLUGIN_OPT
"--plugin-load=;EXAMPLE=ha_example.so;"
--plugin-example-enum-var=e2
--loose-plugin-example-enum-var=e2

View file

@ -1181,9 +1181,8 @@ int plugin_init(int *argc, char **argv, int flags)
/* Register all dynamic plugins */
if (!(flags & PLUGIN_INIT_SKIP_DYNAMIC_LOADING))
{
if (opt_plugin_load &&
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load))
goto err;
if (opt_plugin_load)
plugin_load_list(&tmp_root, argc, argv, opt_plugin_load);
if (!(flags & PLUGIN_INIT_SKIP_PLUGIN_TABLE))
plugin_load(&tmp_root, argc, argv);
}