https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=15592
--- Comment #16 from Chuck Craft <bubbas...@gmail.com> ---
(Maybe this should be spun out into a separate bug?)
udpdump.c
---------
help_url = data_file_url("udpdump.html");
filesystem.c
------------
data_file_url(const gchar *filename)
/* Absolute path? */
if(g_path_is_absolute(filename)) {
file_path = g_strdup(filename);
} else {
file_path = g_strdup_printf("%s/%s", get_datafile_dir(), filename);
}
It wasn't an absolute path name in call from udpdump.c so do "else"
Need to call get_datafile_dir()
/*
* Get the directory in which the global configuration and data files are
* stored.
*
* On Windows, we use the directory in which the executable for this
<---*******
* process resides.
*
* On macOS (when executed from an app bundle), use a directory within
* that app bundle.
*
* Otherwise, if the program was executed from the build directory, use the
<---*******
* directory in which the executable for this process resides. In all other
* cases, use the DATA_DIR value that was set at compile time.
Don't have a Mac to test on.
So for Windows, it expects the help ".html" to be in the directory (extcap) the
executable was called from.
And the second case I had was running from my build directory on Ubuntu - same
result.
Installs on Linux that use the standard path, help works ok.
Working on Kali 2019.4, Wireshark 3.0.5 and Ubuntu 18.04, Wireshark 2.6.10
--
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives: https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe