This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12234] iconvlist API
- From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Tue, 7 Dec 2010 08:20:31 +0000
- Subject: [Bug libc/12234] iconvlist API
- Auto-submitted: auto-generated
- References: <bug-12234-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12234
--- Comment #4 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2010-12-07 08:20:15 UTC ---
(In reply to comment #3)
> such an interface doesn't belong into libc.
> Except for your use there is no known user.
This is a chicken-and-egg problem. How there can be a user of nonexisting API?
> The only possibility I'd except is to make the iconv program a PIE. Then you
> could dlopen() the file and call a special function.
This idea contradicts "How To Write Shared Libraries", section 1.6.
Number of Objects: The fact that a smaller number of objects containing
the same functionality is beneficial has been mentioned in several places
[...]
> But is it really worth the time? The forking really shouldn't be that
> expensive.
Isn't the prelink optimizing an even cheaper operation - dynamic relocating?
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.