mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-02 11:30:25 +08:00
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
This commit is contained in:
commit
8185f9888d
@ -35,7 +35,12 @@ void* dlopen(const char *filename, int flags)
|
|||||||
rt_snprintf(fullpath, strlen(def_path) + strlen(filename) + 2,
|
rt_snprintf(fullpath, strlen(def_path) + strlen(filename) + 2,
|
||||||
"%s/%s", def_path, filename);
|
"%s/%s", def_path, filename);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rt_kprintf("use absolute path\n");
|
||||||
|
return RT_NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* find in module list */
|
/* find in module list */
|
||||||
module = rt_module_find(fullpath);
|
module = rt_module_find(fullpath);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user