[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC] [PATCH] libltdl error reporting
From: |
Bob Friesenhahn |
Subject: |
Re: [RFC] [PATCH] libltdl error reporting |
Date: |
Thu, 10 Jun 2010 14:28:26 -0500 (CDT) |
User-agent: |
Alpine 2.01 (GSO 1266 2009-07-14) |
On Thu, 10 Jun 2010, Peter O'Gorman wrote:
As I am sure many are aware, libltdl's error reporting is pretty dumb,
lt_dlerror() regularly reports things like "file not found" where the actual
problem might be something completely different, and a reasonable error
string may be readily available from dlerror().
As we have known for quite a while now, libltdl's error reporting is
not sane. For example, the preloader always issues a useless error
("file not found") when preloading is not used for the module. Since
the loaders were nicely modularized, each loader is tried in turn
(issuing an error on failure) until a loader is successful, or there
are no more loaders. This is perhaps worse on OS-X where there are
two OS APIs for loading modules. I think that some improvements were
made, but functionality is still lacking.
Bob
--
Bob Friesenhahn
address@hidden, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
Re: [RFC] [PATCH] libltdl error reporting,
Bob Friesenhahn <=
Re: [RFC] [PATCH] libltdl error reporting, Peter O'Gorman, 2010/06/14