Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
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.
  • Loading branch information
ra1nb0w committed Nov 9, 2019
commit e35964ec9856210ba5378317e78b2cbcebff75c0
1 change: 1 addition & 0 deletions src/decode_aprs.c
Original file line number Diff line number Diff line change
Expand Up @@ -3751,6 +3751,7 @@ static int num_tocalls = 0;

static const char *search_locations[] = {
(const char *) "tocalls.txt",
(const char *) "../data/tocalls.txt",
#ifndef __WIN32__
(const char *) "/usr/local/share/direwolf/tocalls.txt",
(const char *) "/usr/share/direwolf/tocalls.txt",
Expand Down
3 changes: 2 additions & 1 deletion src/symbols.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ static const struct {

static const char *search_locations[] = {
(const char *) "symbols-new.txt",
(const char *) "../data/symbols-new.txt",
#ifndef __WIN32__
(const char *) "/usr/local/share/direwolf/symbols-new.txt",
(const char *) "/usr/share/direwolf/symbols-new.txt",
Expand Down Expand Up @@ -1059,4 +1060,4 @@ int main (int argc, char *argv[])

#endif

/* end symbols.c */
/* end symbols.c */