[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ltdl bugs

From: Ralf Wildenhues
Subject: Re: ltdl bugs
Date: Sun, 3 Apr 2005 17:31:56 +0200
User-agent: Mutt/1.4.1i

* Jeff Squyres wrote on Sat, Apr 02, 2005 at 06:55:52PM CEST:
> On Apr 2, 2005, at 7:35 AM, Peter O'Gorman wrote:
> >| lttest.c:12: warning: ISO C forbids assignment between function pointer
> >| and `void *'

> >| Can a second function be added, perhaps lt_dlsymfunc(), that returns
> >| function pointers instead of (void*)?
> >
> >I think that something similar to freebsd's dlfunc() call would be a 
> >good idea too, it is even in the TODO :)

> Any estimate on when it will be implemented?

We would be happy to take patches.  Note that the change I would like
- move any remaining function/object pointer conversions into specific
  loaders/*.c files (e.g., into dlopen.c for systems without dlfunc()),
- be a backwards compatible extension of the ltdl API and ABI if
  possible (changing publicly visible lt_ptr into a union disqualifies
  the API requirement),
- result in preload working in principle on these older IBM machines
  which have sizeof(int*) != sizeof(int(*)(void)).

You'd make my day.  :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]