mirror of
https://agent.ghink.cloud/wb2osz/direwolf
synced 2025-04-06 20:58:30 +00:00
add new search location for symbols-new.txt and tocalls.txt
seen that we moved data in the data/ directory we need to add the new patch to source code.
This commit is contained in:
parent
05828dc65f
commit
e35964ec98
@ -3751,6 +3751,7 @@ static int num_tocalls = 0;
|
|||||||
|
|
||||||
static const char *search_locations[] = {
|
static const char *search_locations[] = {
|
||||||
(const char *) "tocalls.txt",
|
(const char *) "tocalls.txt",
|
||||||
|
(const char *) "../data/tocalls.txt",
|
||||||
#ifndef __WIN32__
|
#ifndef __WIN32__
|
||||||
(const char *) "/usr/local/share/direwolf/tocalls.txt",
|
(const char *) "/usr/local/share/direwolf/tocalls.txt",
|
||||||
(const char *) "/usr/share/direwolf/tocalls.txt",
|
(const char *) "/usr/share/direwolf/tocalls.txt",
|
||||||
|
@ -265,6 +265,7 @@ static const struct {
|
|||||||
|
|
||||||
static const char *search_locations[] = {
|
static const char *search_locations[] = {
|
||||||
(const char *) "symbols-new.txt",
|
(const char *) "symbols-new.txt",
|
||||||
|
(const char *) "../data/symbols-new.txt",
|
||||||
#ifndef __WIN32__
|
#ifndef __WIN32__
|
||||||
(const char *) "/usr/local/share/direwolf/symbols-new.txt",
|
(const char *) "/usr/local/share/direwolf/symbols-new.txt",
|
||||||
(const char *) "/usr/share/direwolf/symbols-new.txt",
|
(const char *) "/usr/share/direwolf/symbols-new.txt",
|
||||||
@ -1059,4 +1060,4 @@ int main (int argc, char *argv[])
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* end symbols.c */
|
/* end symbols.c */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user