tech-userlevel archive

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

Re: dlopen(3) and symbol conflicts



On Fri, Mar 20, 2015 at 01:52:46PM +0100, Edgar Fuß wrote:
> > So rename the functions and submit a bug report upstream. Seriously, the
> > DCE interface is present in FreeBSD, NetBSD and OSX at least. It is
> > Linux which had to create its own API...
> But any third-party program or library should be able to choose whichever 
> symbol names it likes to choose (unless reserved by an official standard) 
> without risking to interfere with the system C library, shouldn't it? What 
> point would you make if Linux/GNU would pollute your favourite namespace 
> with symbols from some ``XYZ interface present in Linux, Irix and Windows 
> at least''?

As long as there is no real module contract attached to a C level
identifer, that's a pipe dream. Of course, DCE can be seen as official
standard and the Linux UUID interface is even supposed to be compatible
to it -- but only as far as the UUIDs goes, not as far as the API.

Joerg


Home | Main Index | Thread Index | Old Index