Wireshark mailing list archives

Re: r45615: Read the program name rather than hardcoding it


From: Guy Harris <guy () alum mit edu>
Date: Wed, 17 Oct 2012 11:04:53 -0700


On Oct 17, 2012, at 9:37 AM, Anders Broman <a.broman () bredband net> wrote:

I will not have the time to rework that now. PF_DIR or program name should come from
configure.nmake or something like that on Windows then I suppose.

Why not just have it come from epan/filesystem.c, as it does now?  What's the problem with hardcoding it?

I'll revert the change for now, so that TShark goes back to picking up the standard preferences.

At least for protocol and tap preferences, and preferences that apply to Wireshark regardless of the GUI toolkit, we 
want the same configuration directory for TShark and Wireshark built with GUI toolkit X and Wireshark built with GUI 
toolkit Y; if there are preferences that only apply to particular GUI toolkits, they should be in separate files, so 
that, for example, protocol and tap preferences, personal plugins, and the like are shared by everything that uses 
libwireshark.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: