From 4b9bdd664a79d5713b22a178086b071abc049d01 Mon Sep 17 00:00:00 2001 From: oharboe Date: Sun, 30 Aug 2009 17:27:50 +0000 Subject: David Brownell Be sure the built-in search paths always go *after* ones provided on the command line ... matching comment in add_default_dirs(). Without this it's impossible to use a private config file which happens to have the same name as an installed one. Say, because you're bugfixing a private copy... git-svn-id: svn://svn.berlios.de/openocd/trunk@2649 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/ecosboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ecosboard.c') diff --git a/src/ecosboard.c b/src/ecosboard.c index 78623ae0..419f038d 100644 --- a/src/ecosboard.c +++ b/src/ecosboard.c @@ -918,7 +918,7 @@ command_context_t *setup_command_handler(void); static const char *zylin_config_dir="/config/settings"; -int add_default_dirs(void) +static int add_default_dirs(void) { add_script_search_dir(zylin_config_dir); add_script_search_dir("/rom/lib/openocd"); -- cgit v1.2.3