Ethereal-dev: Re: [Ethereal-dev] Patch for better finding of plugins under Win32

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxx>
Date: Sat, 18 Aug 2001 15:18:38 -0700
On Wed, Aug 15, 2001 at 09:36:21AM +0200, Dr.-Ing. Gerrit Gehnen wrote:
> since using the Win32-installer for ethereal all users of non-english
> versions of Windows are facing the problem, that the installer installs
> ethereal under the standard program file location, but ethereal uses
> a hardcoded path for the plugin folder.

Hmm.

Does anybody happen to know why Ethereal on *UNIX* has, hardcoded into
it, "/usr/lib/ethereal/plugins/{version}" and
"/usr/local/lib/ethereal/plugins/{version}", rather than just searching
in PLUGIN_DIR?

It does search PLUGIN_DIR, if it's not equal to either of those two
hardcoded directories - but PLUGIN_DIR is, if you don't explicitly
specify a directory argument to "--with-plugins", just the directory
into which Ethereal gets installed, which is where the directories
should get installed (and, presumably, if you *do* specify a directory
argument to "--with-plugins", they get installed there), so I'm not sure
why we bother searching the other directories as well.