diff options
author | Guy Harris <guy@alum.mit.edu> | 2018-05-05 00:19:09 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2018-05-05 08:06:35 +0000 |
commit | 15cfc41e9441c648caf10483520ba3503f2824a0 (patch) | |
tree | 628cd951778ef56703662cb629e0a9efe25e7dbd /wireshark-qt.cpp | |
parent | 41445d0e97ef37786ec7443141641a78fcfd6b8f (diff) |
Don't use dladdr() to get a pathname for the current executable().
Change-Id: I24ad11a659c2cb936f873339dc2b36ac9944280a
Reviewed-on: https://code.wireshark.org/review/27359
Petri-Dish: Guy Harris <guy@alum.mit.edu>
Tested-by: Petri Dish Buildbot
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wireshark-qt.cpp')
-rw-r--r-- | wireshark-qt.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wireshark-qt.cpp b/wireshark-qt.cpp index 55d91a52e1..7b8d48ebad 100644 --- a/wireshark-qt.cpp +++ b/wireshark-qt.cpp @@ -422,8 +422,7 @@ int main(int argc, char *qt_argv[]) * Attempt to get the pathname of the directory containing the * executable file. */ - /* init_progfile_dir_error = */ init_progfile_dir(argv[0], - (int (*)(int, char **)) get_gui_compiled_info); + /* init_progfile_dir_error = */ init_progfile_dir(argv[0]); g_log(NULL, G_LOG_LEVEL_DEBUG, "progfile_dir: %s", get_progfile_dir()); #ifdef _WIN32 |