[Users] [Bug 1137] loading plugins with same profile on different archs
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Tue Nov 20 10:20:08 CET 2012
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=1137
--- Comment #12 from Ricardo Mones 2012-11-20 10:20:07 ---
> that's still not that :)
> I mean if plugin_load() gets a relative gchar *filename (like "pgpmime.so"),
> with your patch, it will fail to load
> /usr/local/lib/claws-mail/plugins/pgpmime.deps.
Nope, that works, it's not easy to follow because of recursivity, but it works
;)
> first thing you need to do in plugin_load() is absolutize the filename
> parameter if it's not.
>
> At save time, you don't need the in_prefix_dir boolean. You just need to know
> whether the filename (which is now absolute during runtime) is in the standard
> dir.
Already thought of that, but it brings a side effect: unconditionally removing
prefix on save alters also plugins which may be valid only in one of the archs.
IOW, it would be always trying to migrate config towards a path-less plugin
list,
while current patch just left to the user the decision of which plugins are
valid
for every prefix/arch (by editing clawsrc and make them path-less) and which
ones
not and remain absolute path of each arch/prefix.
> I don't know if I'm clear. :)
You are, but I think the explanation above will make it even clearer :)
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Users
mailing list