Ethereal-dev: Re: [ethereal-dev] plugin weirdness

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

From: Olivier Abad <abad@xxxxxxxxxxxxx>
Date: Mon, 31 Jan 2000 20:54:06 +0100
On dim, jan 30, 2000 at 07:54:36 -0800, Guy Harris wrote:
> If searching both of those directories is useful, perhaps, instead of
> doing
> 
>         if ((strcmp(std_plug_dir, PLUGIN_DIR) != 0) &&
>         (strcmp(local_plug_dir, PLUGIN_DIR) != 0)) {
>         plugins_scan_dir(PLUGIN_DIR); }
> 
> to search PLUGIN_DIR only if it's not the same directory as
> "/usr/lib/ethereal/plugins/0.8" or
> "/usr/local/lib/ethereal/plugins/0.8", it should do a "stat()" on
> those directories and compare the device and i-number to see if
> they're the same directory?

I just committed the change.

Olivier
-- 
"She said, `I know you ... you cannot sing'.  I said, `That's nothing,
you should hear me play piano.'"
		-- Morrisey