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:
Davide Gerhard 2019-08-17 12:36:18 +02:00
parent 05828dc65f
commit e35964ec98
No known key found for this signature in database
GPG Key ID: 7CBEFA144857DC97
2 changed files with 3 additions and 1 deletions

View File

@ -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",

View File

@ -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",