aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/debian
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2022-12-22 22:37:45 -0800
committerGerald Combs <gerald@wireshark.org>2022-12-23 23:20:22 +0000
commit13f3ebc4e5c5aa35e8c6e63b442534050943865c (patch)
tree4bb03604e02b62de4d29ae7ebcc9c2b9b2f7d28e /packaging/debian
parent44511c318d3105c96aa644e141822ed23614f8b9 (diff)
Add a routine to get the path of an executable given the program name.
That reduces the number of get_progfile_dir() calls, leaving only the calls that are done either to 1) get the pathname in order to display it or 2) get the pathname in order to reset the library path. That makes it easier to figure out which get_progfile_dir() calls are made to find the directory in which (non-extcap) binaries from Wireshark are installed and which - if any - are made to figure out the directory in which *the currently-running executable* are stored. (Currently, get_progfile_dir() attemps to get the former, not the latter, so extcaps in an extcap subdirectory, for example, will get the parent directory of that subdirectory, *not* the directory in which they weere installed.)
Diffstat (limited to 'packaging/debian')
-rw-r--r--packaging/debian/libwsutil0.symbols1
1 files changed, 1 insertions, 0 deletions
diff --git a/packaging/debian/libwsutil0.symbols b/packaging/debian/libwsutil0.symbols
index 1828df248d..f1731d4635 100644
--- a/packaging/debian/libwsutil0.symbols
+++ b/packaging/debian/libwsutil0.symbols
@@ -96,6 +96,7 @@ libwsutil.so.0 libwsutil0 #MINVER#
get_datafile_dir@Base 1.12.0~rc1
get_datafile_path@Base 1.12.0~rc1
get_dirname@Base 1.12.0~rc1
+ get_executable_path@Base 4.1.0
get_extcap_dir@Base 1.99.0
get_friendly_program_name@Base 3.5.0
get_global_profiles_dir@Base 1.12.0~rc1