[Lxdream-dev] libisofs public symbols

Nathan Keynes nkeynes at lxdream.org
Sat Jan 1 02:47:01 PST 2011


On 31/12/2010, at 10:53 PM, Thomas Schmitt wrote:

> Hi,
> 
> i was pointed to
>  http://www.lxdream.org/forums/viewtopic.php?f=2&t=281
> where nkeynes states about libisofs:
>> looks like 0.6.36 and later have started hiding symbols that aren't
>> part of the official public interface. (didn't affect the build I did
>> though for some reason). Damnit. I suppose I'll have to copy the pieces
>> across instead, which is a little unfortunate.

> Feel free to request public API functions.
> The exported symbol list has been restricted because non-API functions are
> allowed to undergo any change without notice or increment of the dynamic
> library .so number. Debian checking software complained about such
> changes. So i decided to try hiding all inner symbols.

Hi Thomas

   Ok that makes sense. I apologise for the tone in the forum post above (I've edited this now) - 
this was of course entirely my own fault for relying on undocumented APIs in the first place, but 
I'd had a bit of a frustrating time debugging the problem :( (The function was obviously still there
in the source, and it worked fine in OS X, but appeared to be specifically missing in the ArchLinux 
build based on the reports I'd had).

> I understand that you now copied the implementation of mem_stream_class
> and rely on the API definition of IsoStream and IsoStreamIface.
> This is safe indeed.
> Nevertheless, we can make it less unfortunate if you want.

I think I'll need to keep the duplication to support existing libisofs versions for now, but it 
would be great if iso_memory_stream_new() could be officially supported in the future?
I'd imagine it would be useful for others as well, and not just for lxdream. In my case I needed 
to transform a file substantially before writing it into the image, and it's preferable to avoid
creating yet another temporary file.

> In case of an answer, please Cc my mail address.
> (Is there really no traffic on lxdream-dev at lists.lxdream.org or is
> the archive dead ? "last rebuilt at Monday, 03 Aug 2009":
> http://lists.lxdream.org/pipermail/lxdream-dev-lxdream.org/
> )

That sounds about right yes - the list has never really had much traffic.
> 
> Have a nice day :)


Thanks, you too. And thanks for libisofs :)

Cheers,
Nathan


More information about the Lxdream-dev mailing list