Charles Hardin <ckhardin@gmail.com>
This evaluates the file at the correct level for the interpreter and the sets and all the globals are then done as expected. added a const to find_file function to avoid typecasting git-svn-id: svn://svn.berlios.de/openocd/trunk@806 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -55,7 +55,7 @@ void add_config_command (const char *cfg)
|
||||
}
|
||||
|
||||
/* return full path or NULL according to search rules */
|
||||
char *find_file(char *file)
|
||||
char *find_file(const char *file)
|
||||
{
|
||||
FILE *fp = NULL;
|
||||
char **search_dirs = script_search_dirs;
|
||||
|
||||
Reference in New Issue
Block a user